I was wondering if there is a way in UI Grid for Angular to disable certain features as far as Filtering goes.
Also is there a way to change the string it sends to remote ? In my case it send something like this
which when decoded looks like this
POST/leads/list?inlinecount=allpages&orderby=s_contact_email&sortdir=desc&$filter=substringof('miller',p_contact_name) and not substringof('gmail.com', s_contact_email) and lead_id eq null or startswith(lead_id,'5')&offset=0&rowcount=10
in this case it uses "substringof" and "not substringof" which makes it hard to do a good case statement. In some of the docs i find that they use doesnotcontain and contains which makes it way easier to handle.
Also does anyone know of some sample code how to break down the querystring in NodeJs on server side. Would be great to have a starting point
Thank you for your questions.
We do provide a sample that is showing how to configure and handle remote data:
My suggestion is to have a look at it.
As for the disabled features, you can remove the feature property definition from the column/grid component and this will prevent it to be added on initialization (remove [sortable]="true" for example)