Is there a way to control hidden rows in the grid?

If I hide or delete rows from the grid, it says there is no data in the data collection itself, but I need this hidden data. Is there any way to control this?

The only way to delete rows is to remove them from the underlying DataCollection. In that case, the data is gone and cannot be accessed.

If the row is hidden, it still exists in the DataCollection (accessed via grid.data) but the item is given a "hidden": true attribute. You can still access the item via its id, though, using grid.data.getItem("my_id").

1 Like

The hidden rows of a the grid can be accessed from the dataCollection API.

Like:
grid.data.getItem(id) // returns the data of a row (no matter if it is hidden or not)

What about the deleted rows - as the rows are deleted from the dataCollection there is no possibility to operate with these rows.