Hy, I am trying to use a data grid in metronic 9
<DataGrid
layout={{ cellsBorder: false }}
columns={columns}
serverSide={true}
onFetchData={onFetchData}
rowSelect={false}
pagination={{ size: 10 }}
/>
I am unable to make the spinner work when the api will be working to get the data. Right now spinner pops up for very short period of time and then it disappear, even though the API is still working. I checked out metronic 8 but loading variable has moved I think.
Also where can I find examples to use filter in and other things in it ?
Hi,
It seems you are using an older version of Metronic v9. Can you please download the latest version, 9.1.2, and use the improved DataGrid plugin?
You can check server-side data with filter, pagination, and sorting in src/pages/dashboards/demo1/light-sidebar/blocks/teams/Teams.tsx
.
Please see the live demo here, the data grid example above the site footer.
Consider using Metronic 9 Pulse for 30% discount. It's a laravel backend that we use for Metroni 9 React App.
Regards,
Sean