You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In our implementation of Datagrid, we need a way to override the default row selection, and would like to be able to pass in our own list of selectedRowIds as a prop to state (rather than only initialState).
The solution
We'd like a property to be added to datagridState.state for selectedRowIds so we can override the default selection behavior and can manually control the list of selectedRowIds, rather than letting it be handled internally by Datagrid.
Some other Carbon components offer a similar property, including the old v10 carbon-addons-iot Table component (which is no longer supported, and the documentation recommends you switch to Datagrid when upgrading to v11)
The problem
In our implementation of Datagrid, we need a way to override the default row selection, and would like to be able to pass in our own list of selectedRowIds as a prop to state (rather than only initialState).
The solution
We'd like a property to be added to
datagridState.state
for selectedRowIds so we can override the default selection behavior and can manually control the list of selectedRowIds, rather than letting it be handled internally by Datagrid.Some other Carbon components offer a similar property, including the old v10 carbon-addons-iot Table component (which is no longer supported, and the documentation recommends you switch to Datagrid when upgrading to v11)
Design link
Example of this in the v10
carbon-addons-iot
package (Ctrl+F forselectedIds
)Links to other materials
No response
Owner/main maintainer(s)
Matthew Gallo
Second/backup maintainer(s)
No response
Product/offering
No response
Business priority
Medium Priority = upcoming release but is not pressing
Code of Conduct
The text was updated successfully, but these errors were encountered: