canToggle not working for me...

Hi,

I am trying to have checkbox in my listgrid and below is what I have done.

Defined a boolean field in my dataSource as below:

{
title: “Accept”,
defaultValue:true,
type:“boolean”,
//showIf :“this.form == null”,
canToggle:true
}

Specified required image properties in Listgrid as below:

this.listGrid = isc.ListGrid.create({
width:“100%”,
height:“100%”,
canEdit: true,
canSort: true,
overflow: “auto”,
autoSaveEdits:false,
booleanFalseImage:“unchecked.gif”,
booleanTrueImage:“check.gif”,
autoDraw: false,

I can see the check.gif when listgrid is loaded but I can not toggle it to uncheck.gif when I click on it.

I guess I am still unaware of something so can’t say I am missing something.

What can be reason for canToggle not being trigerred.

Thanks.

just added name:“zzz” in field declaration and it working now.

THanks.