smartgwt 2.5
Firefox 3.6.17
I am using a ListGrid that starts by default being grouped by a single field. Then the user can group by another field to accomplish two levels of grouping. To do this I just call:
listGrid.groupBy(newGroupByFields)
where new GroupByFields is of length > 1. The grouping happens just fine. The only issue is that the groupTitle column is only sized as wide as the values of the first level of grouping so the groupTitles for the second level are being cut off. I can manually resize the column to see the new group titles, but it would be nice if the group title column would resize to fit the new level of titles. I have tried the following:
setting these options on the list grid:
setAutoFitWidthApproach(AutoFitWidthApproach.BOTH);
setAutoFitWidth("groupTitle", true);
setting this option on the list grid:
setAutoFitData(Autofit.HORIZONTAL);
invoking:
listgrid.refreshFields(); // I have done this both by it self and in combination with the above settings.
None of these approaches seem to have any affect on the width of the column. Is this functionality available in smartgwt?
Firefox 3.6.17
I am using a ListGrid that starts by default being grouped by a single field. Then the user can group by another field to accomplish two levels of grouping. To do this I just call:
listGrid.groupBy(newGroupByFields)
where new GroupByFields is of length > 1. The grouping happens just fine. The only issue is that the groupTitle column is only sized as wide as the values of the first level of grouping so the groupTitles for the second level are being cut off. I can manually resize the column to see the new group titles, but it would be nice if the group title column would resize to fit the new level of titles. I have tried the following:
setting these options on the list grid:
setAutoFitWidthApproach(AutoFitWidthApproach.BOTH);
setAutoFitWidth("groupTitle", true);
setting this option on the list grid:
setAutoFitData(Autofit.HORIZONTAL);
invoking:
listgrid.refreshFields(); // I have done this both by it self and in combination with the above settings.
None of these approaches seem to have any affect on the width of the column. Is this functionality available in smartgwt?
Comment