Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
180
ScrolltoView enterEditMode
posted

I need to be able to scrolltoview and then put the cell in edit mode.  Here is my code.  if the cell is visible with out scrolling the cell is in edit mode if it has to scroll then not.

 

thanks 

 

if (val == "0" || val == "0.00") {

var editing = grid.get_behaviors().get_editingCore().get_behaviors().get_cellEditing();               

var firstCell = grid.get_rows().get_row(i).get_cell(0);

editing.enterEditMode(firstCell);

grid.get_rows().get_row(i).get_cell(0).scrollToView();

}

Parents Reply Children
No Data