开发者

flex data grid visibility when empty

开发者 https://www.devze.com 2023-01-20 08:18 出处:网络
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 head开发者_Python百科er will not just appear alone.Check you

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 head开发者_Python百科er will not just appear alone.


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消