¡@

Home 

2014/10/16 ¤W¤È 12:02:44

jquery Programming Glossary: currentcell

JQGRID: any easy way to implement undo on excel like jqGrid implementation

http://stackoverflow.com/questions/7016109/jqgrid-any-easy-way-to-implement-undo-on-excel-like-jqgrid-implementation

lines datarows unescape info .replace r n '' .split r n if datarows datarows.length 0 currentrow firstcell.parent currentcell firstcell if the source is a single cell allow it to be pasted over multiple cells if datarows.length 1 datarows 0 .split.. columns datarows i datarows i .split t var row null var rowId null var rowindex null for j 0 j datarows i .length currentcell.length 0 j mark the row as altered if currentcell.parent .hasClass altered currentcell.parent .addClass altered there_are_unsaved_changes.. var rowId null var rowindex null for j 0 j datarows i .length currentcell.length 0 j mark the row as altered if currentcell.parent .hasClass altered currentcell.parent .addClass altered there_are_unsaved_changes 1 for each outer iteration..