$('#dg').datagrid({ onCheck: function(index,row){ row.final = true; }, onUncheck: function(index,row){ row.final = false; }})