:: Forum >>

Refresh multi-span headers on width change does not work in 2.5.1

Hi Alex,

We had implemented adjustScrollWidth to refresh multi-span header on column width change as suggested in the link /javascript.forum.16298.7/sorting-on-second-header-row.html

On migrating to 2.5.1 it has stopped working. The event seemed to have been removed. On changing the event to onColumnWidthChanged the this.getHeaderTemplate(c, r).refresh(); doesn't seem to work fine although the span seem to have an updated width. Please suggest what is the correct way to get this implemented in the 2.5.1 version.

Thanks,
Amit
Amit
Friday, February 8, 2008
Hi Alex,

Please suggest a way to refresh the header template in 2.5.1.

Thanks,
Amit
Sunday, February 10, 2008
adjustScrollWidth event does not exist anymore in 2.5.1. I would suggest using onColumnWidthChanged event and refresh the header row segment (instead of the individual header cells) -

grid.onColumnWidthChanged = function(){
this.getHeadersTemplate(1, "center").refresh();
};
Alex (ActiveWidgets)
Tuesday, February 12, 2008

This topic is archived.


Back to support forum

Forum search