Search code examples
gridviewgridshieldui

ShieldUI filtering when using remote data


The documentation is kind of sparse on using certain functionality on the ShieldUI datasource controls as far as filtering is concerned.

I have a handler for the input, just like in the demo, but it only filters the page that is loaded and does not filter any pages that may be loaded.

How do you filter the entire dataset that could possibly loaded from the remote datasource?


Solution

  • Each Shield UI DataSource operation (like filtering, grouping, skip, etc) can be performed either on the client side (the default) or on the server.

    If you are using remote data binding and want to filter the results on the server side, you should that via the remote.operations setting.

    For a live example you can see this demo, but note that it contains an example how to perform "sort", "skip" and "take" operations on the server.