Hi to everybody,
The focus of the inputText component in <ig:gridView> is loosing when I tabbed out to next inputtext field.
The focus will not go to next text field and the focus getting out of the grid and points to Command Button.
Can any one provide the solution to get the focus on the next filed in a grid. or provide code to me..
Thanks
A.Viswanath yadav
Hello , Yadav
I made a code example for you with an editable webGrid and a command button inside a form.
The grid contains inputText and outputText both.
The example is in the attached file
Hi Georgieva ,can u send me the code what you did in the below method please..cellValueChangeListener="#{webgrid_employeeDAO.onCellEditFired}"
Hi Visu ,
below is one example of implementing the method onCellEditFIred inside the "webgrid_employeeDAO" backing bean
public
String newValue = (String) event.getNewValue(); // gets the new value entered in the cell
String oldValue = (String) event.getOldValue(); // gets the old value contained in the cell
System.
out.println( " Old value - " + oldValue + "; newValue - "+ newValue);
}
I hope this helps!