3.2.0

Row Selector Header - "Check All" Checkbox

I need to have a checkbox in the rowSelector column of the header.

I know how to make a function that will check all the checkboxes in the rowSelector column, but I'm not sure how to insert a checkbox into the header section of the row selector column.

It seems the row selector header gets a css class of

(name-of-grid)-topSelector-(header-row-index)


I could find it by classname and insert a checkbox into it, but I assume there must be a more official "ActiveWidgets" way of doing it. I can't see anything in the AW Grid.Extended class reference, though.

Any suggestions?
John
May 5,
Always speak too soon, it seems:

grid.setTopSelectorTemplate(new AW.UI.CheckBox,1);
John
May 5,

This topic is archived.

See also:


Back to support forum