I've been exploring using the disabledRows parameter for React Data Grid. A shortcoming that requires quite a bit of additional coding to work around is when rows are sorted/reordered. It would be much nicer to have a disabled flag in the row props that you could pass into the Data Grid instead of defining a static list.
what edition are you using - community
version for @inovua/reactdatagrid-community - v5.10.2
What you did:
Used the disabledRows prop on the Data Grid
Sorted by a particular column
Observed that the disabled rows do not follow the row ID and the incorrect rows become disabled
Problem description:
The disabledRows prop is too static for something as dynamic as a Data Grid
Suggested solution:
Add a disabled prop to the row data to allow rows to be dynamically marked as disabled
This will allow data to be pre-processed to determine which rows should indeed be disabled and maintain the appropriate disabled rows upon sorting
I hope the above ask is clear, thank you so much for the consideration!
@DCMattyG I don't see this prop disabledRows in the documentation - can you please provide a link on where did you see this or any small description of how to use this ? I really need disabled checkboxes in rows
I've been exploring using the
disabledRows
parameter for React Data Grid. A shortcoming that requires quite a bit of additional coding to work around is when rows are sorted/reordered. It would be much nicer to have adisabled
flag in the row props that you could pass into the Data Grid instead of defining a static list.@inovua/reactdatagrid-community
- v5.10.2What you did:
disabledRows
prop on the Data GridProblem description:
disabledRows
prop is too static for something as dynamic as a Data GridSuggested solution:
disabled
prop to the row data to allow rows to be dynamically marked as disabledI hope the above ask is clear, thank you so much for the consideration!