Closed hjalmers closed 6 years ago
Use rowIndex
property of options to let the table now which column object key holds the unique id for the row. Eg.
{
"rowIndex":"orderId"
}
orderId | name |
---|---|
a1 | lorem ipsum |
b2 | dolar sit amet |
c3 | consectetur adipiscing |
Order id will in this case be used as a unique identifier for each row instead of an autogenerated one.
Example if the table data already contains a unique id for each record it should be possible to use it instead, this can be used to sync row state (open/selected etc.) when data is fetched from server.