abstract-purpleA
Refine3y ago
3 replies
abstract-purple

Use sorter in Table.Column with compare function, prevent query

I have a sort function that I am using because my dataIndex is an array dataIndex={["pp_spec", "pp_spec_tag", "value"]} which cannot be sorted using GraphQL. I am not paginating so I just want to run the compare function to sort. This works, but the GraphQL query still runs and errors after about 5 seconds. Is there a way to prevent that query from running and just do a sort with the currently fetched data?
Was this page helpful?