3.2.0

Alex- How to set focus again on different grid cell after validation/or alert

Setting the focus in the same grid cell can be achived by using onCellValidating using return "error"

but i want to set focus on other grid cell or i want to set focus explicitly using row and col in the other grid cell How to do this

I have raiseEvent 'onCellValidating' like below it is entering but
how to set focus to row-1,col-1, after giving alert
this.obj.raiseEvent('onCellValidating',val,1,1);

Thanks In Advance
Sufiya
sufiya
June 21,
Hi guys,

I found the solutions even ur focus is not in grid click any button after loading page call a function and do the following
set explicitly row and col where the focus is needed

obj.setCurrentColumn(colVal);
obj.setCurrentRow(rowVal);
obj.setCellValue("",colVal,rowVal);
obj.raiseEvent("editCurrentCell",{});
sufiya
June 21,

This topic is archived.

See also:


Back to support forum