Announcement
Collapse
No announcement yet.
X
-
Hey there, this is embarrasing, but i just now got around to actually looking at this :)
I might be mistaken, but i checked getOriginalData, and I don't think you've exposed this method in smartGWT? I am checking in 13d.
Leave a comment:
-
Hello, please take a look at getOriginalData():
https://www.smartclient.com/smartcli...etOriginalData
Leave a comment:
-
Check if grouped grid has data
Hello,
To check if a listgrid contains any data, i do the below call for regular listgrids.
Code:if (reportGrid.getRecords() != null && reportGrid.getRecords().length > 0)
Code:public static boolean checkTreeGridHasData(ListGrid gridThatIsGrouped){ Tree tree = gridThatIsGrouped.getGroupTree(); return (tree != null && tree.getChildren(tree.getRoot()) != null && tree.getChildren(tree.getRoot()).length > 0); }
Tags: None
Leave a comment: