react-data-grid
react-data-grid copied to clipboard
Type Column.key: 'keyof TRow' instead of 'string'
I would like to request a review of this idea: By changing the type of the field key from 'string' to 'keyof TRow' we get the possibility of code completion based on the type of the rows. This little simple change makes working on the configuration of the columns way more manageable than checking on the type of the row for every field we want to include as a column on the grid.