Use it when you need to support Pagination with a GraphQL endpoint (for simple JSON, use a regular grid).
Take a look at the (Wiki docs)
(*) NO DATA SHOWN - just change filters & page and look at the "GraphQL Query" changing
Only "Name" field is sortable for the demo (because we use JSON files), however "multiColumnSort: true" is also supported
String column also support operator (>, >=, <, <=, <>, !=, =, ==, *)
The (*) can be used as startsWith (ex.: "abc*" => startsWith "abc") / endsWith (ex.: "*xyz" => endsWith "xyz")
The other operators can be used on column type number for example: ">=100" (greater or equal than 100)
You can also preload a grid with certain "presets" like Filters / Sorters / Pagination
Wiki - Grid Preset
Also note that the column Name has a filter with a custom %% operator that behaves like an SQL LIKE operator supporting % wildcards.
Depending on your configuration, your GraphQL Server might already support regex querying (e.g. Hasura
_regex) or you
could add your own implementation (e.g. see this SO
Question).