:: Forum >>

How Place A CheckBox in Header and tack the Evnet


I have Will different Name in it , In the 1st Column there is Checkbox, Whant I want that to place a Checkbox in Header and in this header checkbox is Checked then all the checkbox in 1st Column is Checked,
Please tell me How Can I Do this
Manoj
Monday, April 9, 2007
var obj = new AW.UI.Grid;
    var chkTemplate = new AW.Templates.Checkbox;

    obj.setHeaderText(header);
obj.setHeaderTemplate(chkTemplate, 0);
obj.setHeaderValue(false, 0);
    obj.onHeaderValueChanged =
function(event,index){
// You have your Event. Best part this does not sort the column as well
}
};
Sandip
Tuesday, April 10, 2007
though the previous sorted arrow key direction does disappear. How can I prevent that.
Sandip
Tuesday, April 10, 2007

This topic is archived.


Back to support forum

Forum search