Update all highlighted rows
Update all highlighted rows
doze
Posts: 5Questions: 1Answers: 0
hey Guys.
here is my code
var colIndex = table.row('.selected')[0]+"";
var strIndex = colIndex.split(',');
for(i=0;i<strIndex.length;i++){
editor
.edit(table.row(strIndex[i]).node(), false)
.set('stc_timekeeping.leave_earn', (editor.get('stc_timekeeping.leave_earn') * 1) + 1)
.submit();
}
I have selected the rows that need's to be updated ex: 5rows
problem is that when i click the button it only updates the last record or the last loop..
anybody have other solutions for this?
This discussion has been closed.
Replies
Hi,
Currently Editor does not support multi-row editing. That is a feature that will be introduced in v1.5 in the new year :-)
Allan
Ok thanks. looking forward to that update.
BTW. good job I love your work :)