I rendered a grid, and to my understanding each row is identified with a primary key. How can I receive the primary key of a row from the grid?
each row in the grid has a unique id.
It can be get using the getRowId():
docs.dhtmlx.com/api__dhtmlxgrid_getrowid.html
The rows have unique IDs but this is not the ID I’m looking for. When using
render_table("table","primary_key","fields")
It appears they are also linked the primary_key, which is what I’m looking for. The row ID is not the primary_key
It appears that the row ID has the primary key in it but it also has some kind of numbers before it
(level)%23(primary key)
Does anyone know what the previous numbers represent? For me they’re 23
If you are using a multi-table connector, the id value will be prefixed with the level in the hierarchy ( it is necessary to make IDs unique )