checkbox as value in the grid

Hi ,
I want to create checkbox as value.
When I try to create as editortype:“checkbox”,
it is working for field names only , not for values.
can you suggest me in this regard.

Regards,
Suresh

Sorry, could you clarify? editorType:“checkbox” is not correct, it should be editorType:“CheckboxItem”, however, I don’t understand what you mean by it working for “field names only, not for values”.

chkbox issue

Hi

for ex : if you have grid like
emp name , age ,sal ----------these are feild name
suresh , 24 ,1000----------these are values

I want to add emp name values are checkbox
like this I want to show:

selection name age sal

abc 24 434343
xyz 25 989898

here ---- is checkbox.

Just setting a field to type:“boolean” causes values to be displayed as images, by default, a green check for true and a blank image for false. If you wanted to configure it so that it looked like the images using by CheckboxItems, you’d use the code below.

NOTE: the paths below are correct for TreeFrog skin. For SmartClient skin and other skins, use “.gif” instead of “.png”.

isc.ListGrid.create({
    ID: "countryList",
    width:500, height:224,
    data: [
        { boolField:true },
        { boolField:false }
    ],
    booleanTrueImage:"[SKINIMG]DynamicForm/checked.png",
    booleanFalseImage:"[SKINIMG]DynamicForm/unchecked.png",
    fields:[
        {name:"boolField", type:"boolean" },
        {name:"otherField"}
    ]
})

thx

Thanx a lot sir