:: Forum >>

The library function obj.getFooterTemplate(0).refresh() does not work

Hi

I have a grid in which user can customise the location of columns and do calculations on columns.The grid has header and footers for showing the column additions.

If I try to apply obj.getFooterTemplate(0).refresh() after customisation the footer formatting and content breaks.

If I do with this instead :
for(var footerColumnCounter=0;footerColumnCounter<obj.getColumnCount();footerColumnCounter++) {
obj.getFooterTemplate(footerColumnCounter, 0).refresh();
}
The footer columns are updated with content and formatting.

Is there any bug with obj.getFooterTemplate(0).refresh() ?
Thanks
Vikramaditya Garg
Vikramaditya Garg
Tuesday, September 5, 2006
If you are using AW.Grid.Extended you need both column and row indices of the footer template - getFooterTemplate(0, 0), because the extended grid can have multiple footer rows. With the simple grid (AW.UI.Grid) getFooterTemplate(0) should work fine.
Alex (ActiveWidgets)
Tuesday, September 5, 2006

This topic is archived.


Back to support forum

Forum search