igx-grid - Add row attributes #11334
-
Does anyone know if there is a way to add an attribute to an My main use case is that I want to add an attribute called |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
There is no such built-in way currently, however, you could achieve your scenario by getting the data index (attribute data-rowindex ) and taking the primary key from the data record at that index in the grid data view. |
Beta Was this translation helpful? Give feedback.
-
If anyone comes here in the future and wants to do something like this, this is how I achieved it:
|
Beta Was this translation helpful? Give feedback.
If anyone comes here in the future and wants to do something like this, this is how I achieved it: