3.0 beta 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
November 23,
see a previous post which takes you some of the way...

/datagrid.8427/check-all-checkboxes-in-a.html

Will
Will
November 23,
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
November 24,

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
November 24,
Hi Alex ,

Please Do have a comment on this .. thanks

josh
November 24,

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
November 24,
Hey Josh Have You Got Any solution for this .. I am also Facing the same
problem ... Hey Any body solved this problem ?

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

Prakash
Prakash
January 10,

This topic is archived.

See also:


Back to support forum

Search

Version 2

Looking for AW 2.6 ?
The old site is here.