:: Forum >>

create morethan one chechbox in AW2.5

Hi all i am using checkbox in the grid. but it seems working for 568 rows in ie and 3600 in mozilla finely.when record count beyond that levels the grid not displaying and it shows some javascript error both in IE and mozilla.Below here i snipped my code to create morethan one checkbox in the grid, pls anyone spot me what i made the mistakes in the code

var chkbox;
for(var i=0;i<myCells.length;i++)
    chkbox= new AW.UI.Checkbox;
    chkbox= "";
Monday, October 13, 2008
You should use the AW.Templates.Checkbox instead -

var chkbox = new AW.Templates.Checkbox;

and assign the template to all cells in one column -

table.setCellTemplate(chkbox, 0);
Alex (ActiveWidgets)
Tuesday, October 14, 2008
By using above code also doesn't let me create more than limited checkbox.
Thursday, October 16, 2008
for(var i=0;i<myCells.length;i++){
Thursday, October 16, 2008

This topic is archived.

Back to support forum

Forum search