3.2.0

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
April 9,
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
April 10,
though the previous sorted arrow key direction does disappear. How can I prevent that.
Sandip
April 10,

This topic is archived.

See also:


Back to support forum