Connecting to a database is a common task in any application. In this tutorial, we will learn how the built in features of the React Data Grid can help us manage this interaction.
📄️ Client Mode
In Client Mode, the data is loaded into the grid at once. This is the default mode of the grid. The data is loaded into the grid using the dataProvider prop. There is no need to set the filterPageSortMode prop to FilterPageSortLoadMode.Client as this is the default value.
📄️ Server Mode
In Server Mode mode, the data is loaded in chunks as the user interacts with the grid. This mode is useful when the data is too large to load into the grid at once. The data is loaded into the grid using the serverInfo prop.