开发者

flex data grid visibility when empty

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜