I have a form with a number of columns, one being a Checkbox which is sending two form submits on-click of the checkbox itself and causing database lockouts.
index.jsp:
var gridLayout = [
...
{name:"Recurring", field:"isRecurring", type: dojox.grid.cells.Bool, width: "50px",editable:true}
...
]
var grid = new dojox.grid.DataGrid({
id: 'grid',
store: myStore ,
structure: gridLayout
});
dojo.connect(grid, 'onApplyCellEdit', function (a,index,c) { submit(index) } );
Is there an alternative to the 'onApplyCellEdit'?