Hi,
I have a couple of grids (both based on local arrays). When I add a new row to the first grid I populate the second with a numbers of rows of which one column is blank. I then use a editCell call to take the user to the first row in the second grid to enter a value.
$(“#grid_2”).editCell(“0”, “2”, true,true);
That works fine.
What I want to do, and the bit I'm having trouble with, is that when the user has entered a value I want to move them down to edit the cell below (same col, row+1) and carry on doing this until they've done so for all rows.
I'm trying to do this in the afterSaveCell function – but it doesn't work. While I thought this might be due to some issue of how I add 1 to the row it doesn't work either if I do it this way…
afterSaveCell: function (rowid,name,val,iRow,iCol){
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top