:: Forum >> Version 2 >>

How Place A CheckBox in Header and tack the Evnet

More information on this topic is available in the documentation section: /aw.ui.grid/.


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(chkTemplate0);
    
obj.setHeaderValue(false0);
    
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 /aw.ui.grid/

Documentation:

Forum search