Open jozef-slezak opened 3 years ago
Goal: graphql filter/sort/page on Material-UI data grid Checklist:
searchCustomers
useSearchCustomersQuery()
Goal: graphql filter/sort/page on Material-UI data grid Checklist:
searchCustomers
to have optional where/order_by/limit/offset (test your query in https://iteria-app-example01.herokuapp.com/console) https://github.com/iteria-app/example-material-ui/blob/530d46dd12c06561409383b63be593ef6a957660/src/views/customer/CustomerListView/operation.graphql#L16searchCustomers
graphql query in https://github.com/iteria-app/example-material-ui/blob/main/src/views/test/GeneratedCustomers.tsx (using hookuseSearchCustomersQuery()
like in https://github.com/iteria-app/example-material-ui/blob/cffe7493a443e3a9b7bf0f9ba4d4a4cdae7758c2/src/views/customer/CustomerListView/index.tsx#L26)