:: Forum >> Version 2 >>

deselected checkbox(aw.tecmplates.checkbox) Render inside a grid


Hi All

I would Like To know how can i put a check box (aw.ui.checkbox or
aw.templates.checkbox) inside a grid where initially all the checkboxes
should be deselected ..

thanks
josh
Wednesday, November 23, 2005
see a previous post which takes you some of the way...

/javascript.forum.8427.5/check-all-checkboxes-in-a.html

Will
Will
Wednesday, November 23, 2005
Hi
Will Thanks For that reply .But My Question Is How Can I load the check boxes into a grid . where intially all the check boxes are unchecked ... my requirment is so that user can select an unchecked
checkbox and do the corresponding operation.

thanks
josh
Thursday, November 24, 2005

as of now i am using the following code

var chk = new AW.Templates.Checkbox;
objresGrid.setCellTemplate(chk, 0);

Which do loads all the checkboxes to the first column . but all the
checkboxes are checked while loading . i want it to be loaded with unchecked values ..
josh
Thursday, November 24, 2005
Hi Alex ,

Please Do have a comment on this .. thanks

josh
Thursday, November 24, 2005

It Works perfectly when i tried to uncheck the checkbox using the
following code for a standalone checkbox

var objcheck = new AW.UI.Checkbox;
objcheck.setControlValue(false);
document.write(objcheck);

creates a perfect checkbox which is unchecked

But Once U Render it inside the grid using the following code
var obj = new AW.Grid.Extended;
obj.setId("testGrid");
obj.setCellTemplate(objcheck, 1);

it automatically gets checked while loading .. i have tried the same
thing using the AW.Templates.Checkbox .. But Its not working
Can Some One Throw Some Light into this matter
josh
Thursday, November 24, 2005
Hey Josh Have You Got Any solution for this .. I am also Facing the same
problem ... Hey Any body solved this problem ?

Nathan
Friday, November 25, 2005
josh any success!!!!!!!!
Prakash
Monday, December 5, 2005
DId anyone figure this one out?
lw
Wednesday, December 14, 2005
obj.setCellTemplate(new AW.Templates.Checkbox, 0);
obj.setCellValue(false,0);
the setcellvalue function will deselect the checkbox at intial stage

Prakash
Prakash
Tuesday, January 10, 2006



This topic is archived.

Back to support forum

Forum search