PDA

View Full Version : Layout problem hidden grid rows in Ext 4.2 with rowExpander



HTK
27 May 2013, 12:56 AM
Hi. I have a problem with hidden grid rows in a grid that uses grouping and rowExpander. In my getRowClass function I set a style class which contains "display: none;" for some rows I do not need to show in the grid. This causes my grid to show grey borders for the hidden rows. Maybe this is a bug or maybe I have to use other css. What do you mean ? How can I solve this to not display these borders of hidden grid rows. See screenshots.
Screen 1 marked with firebug / Screen 2 you can see the grey borders.

4402044021

dawesi
27 May 2013, 11:39 PM
why not filter the rows out to hide them and use a tree grid (or tree with columns)?

HTK
27 May 2013, 11:47 PM
The rows that need to be hidden are filtered out with getRowClass function. But normally, if I use display:none; the grid row gets hidden completely. In this case, using the rowExpander plugin the row does not get hidden. The border is still visible. In my case I donīt want to use a TreeGrid. Maybe there is another option.