Hi Gino,
Thanks for using Syncfusion Product,
We have analyzed your requirement, yes we have an option for pagination in Grid. We have created a sample for your reference, In the below sample we have enable paging in Grid by using allowPaging property as true. kindly refer the below sample and code snippet for more information.
|
import { GridComponent, ColumnDirective, Page, Inject } from '@syncfusion/ej2-react-grids';
export class Paging extends SampleBase<{}, {}> {
render() {
return (
<GridComponent dataSource={data} allowPaging={true}>
<ColumnsDirective>
<ColumnDirective field='ProductID' headerText='ID'></ColumnDirective>
. . . . . .
</ColumnsDirective>
<Inject services={[Page]} />
</GridComponent>)
}
}
ReactDOM.render(<Paging />, document.getElementById('sample')); |
In the above sample, we have bind grid with service and the grid will only load current view data and request subsequent page data on demand.
Regards,
R.Dhivya