:: Forum >>

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
Wednesday, May 5, 2010
Always speak too soon, it seems:

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

This topic is archived.


Back to support forum

Forum search