MysorePak Posted June 30, 2015 Report Posted June 30, 2015 i have a check box in a grid layout which should be enabled and disable based on the condition... or first row of grid checkbox should be disabled adhi ela cheyali i tried but didnt make it disable..:( { layout = [ {name: 'Select',field: 'selected', type: dojox.grid.cells.Bool, get:isEditable, width: '50px', defaultValue: true, values: [ true, false ]}, {name: 'Date', field: 'date', width: '120px'}]; store = new dojo.data.ItemFileWriteStore({data: response, clearOnClose: true }); } isEditable = function (rowIndex, item){ alert('inside rowindex'); if (item == null) return; var flag = projectGrid.store.getValue(item,'Flag'); alert(flag); if(flag == 'N'){ alert('inside if condition'); return false; }else{ return true; } }; Need some inputs..
Recommended Posts