views:

16

answers:

1

Hi,

I have data grid that measures the height according to the rows it has, but i need to disappear/ make invisible when i have no data, so the header will not just appear alone.

+1  A: 

Check your dataProvider each time it's updated. If after update it's empty, then set your DataGrid visible (and in case of need includeInLayout) property to false. Set it back to true when on update dataProvider has soma data again.

2DH
hering
+1 to hering, I was about to give the same answer.
Wade Mueller