wgGetNextEditableCell() issue

1 reply. Last post: October 12, 2010 11:38 PM by Yudi
Tags :
  • New Discussion
  • New Question
  • New Product Feedback
Frank BruceMember

I want to get next cell from one edit cell by the way "wgGetNextEditableCell() ",but it does not work!

var grid = ISGetObject("WebGrid1");
var curCell = grid.GetActiveEditCell().cellIndex;
var Tcell = grid.GetSelectedObject().ToRowObject().GetCell(curCell - 1).GetElement(WG40.BODY, WG40.HTMLCELL); var NextcellElement = wgGetNextEditableCell(Tcell); var cellObj = wgGetCellByElement(NextcellElement); alert(NextcellElement)
alert(Tcell.innerText)    

All times are GMT -5. The time now is 8:40 PM.
Previous Next