Open lubomirmatus opened 6 years ago
can hide all rows and show the data in details with custom layout.
You cannot hide one specific row now. But you can set the body row height to be 1. That practically does the above.
Because Grid doesn't support variable row heights, the trick Tatu mentioned is as good as it's likely to get. Neither the details row handling nor the row positioning nor scrolling logic would manage gracefully any attempt to hide just one row. And implementing support for variable row heights would not be trivial in the least.
I would like to propose new feature for
Grid
.Grid
can show row details for selected rows usinggrid.setDetailsVisible(row, true)
.It would be fine that whole row can be hidden and the row details are shown instead of row. E.g.
grid.setRowVisible(row, false)
.This feature can be interesting for custom-rendered-row-grid when you can hide all rows and show the data in details with custom layout.