If you don’t like the default behavior of a prop, use the controlled version and implement your own logic and handling - see for example the followi

📣 Infinite Table is Here 🎉

submited by
Style Pass
2023-01-25 22:00:44

If you don’t like the default behavior of a prop, use the controlled version and implement your own logic and handling - see for example the following props related to column order:

It’s where the power of React lies - giving the developer the flexibility to fully control (when needed) every input point of an app or component.

All the props which Infinite Table exposes, have both controlled and uncontrolled versions. This allows you to start using the component very quickly and without much effort, but also with the all-important flexibility to fully control the component when needed, as your app grows and you need more control over the DataGrid.

In addition, the exposed components are exported as generic components, so you can specify the type of the data you’re working with, for improved type safety.

This means DOM nodes are created only for the visible cells, thus reducing the number of DOM nodes and associated memory strain and improving performance.

Leave a Comment