Cell Attributes

Add custom attributes to each cell of your table using the attributes config. This example adds data-field="name" to all cells of the "Name" column:

Live Editor
Result
info

attributes config accepts callback function as well:

{
'attributes': (cell, row, column) => { ... }
}
Live Editor
Result
Last updated on by Afshin Mehrabani