3.2.0

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
February 8,
Hi Alex,

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

Thanks,
Amit
February 10,
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)
February 12,

This topic is archived.

See also:


Back to support forum