Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Display a ListGrid from the start with all its rows expanded

    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:
    Code:
    ListGridRecord[] records = getRecords();
    for (ListGridRecord rec : records) {
    	expandRecord(rec);
    }
    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?
Working...
X