I'm using SmartGWT 2.5.
I have a maingrid that has its expandable rows in order to display subgrids.
I simply want to display the maingrid with all its rows expanded from the start.
I tried to add a listener containing the following code:
I tried with DataArrivedHandler and DrawAreaChangedHandler, but I just get javascript errors client-side or only parts of the rows are expanded. How can I fix this?
I have a maingrid that has its expandable rows in order to display subgrids.
I simply want to display the maingrid with all its rows expanded from the start.
I tried to add a listener containing the following code:
Code:
ListGridRecord[] records = getRecords(); for (ListGridRecord rec : records) { expandRecord(rec); }