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
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!
Hi Georgieva ,can u send me the code what you did in the below method please..cellValueChangeListener="#{webgrid_employeeDAO.onCellEditFired}"
Hello Vishwanath, Could you please let us know whether you are implementing 'WebGrid - Cell Editing' or 'In-Cell Editing'? Please note that focus could be applied to In-Cell Editing. Below are the links to our online sample.
WebGrid - Cell Editing --http://java.samples.infragistics.com/NetAdvantage/JSF/2009.1/featurebrowser/webgrid/cellEditing/defaultEditors.faces
In-Cell Editing -- http://java.samples.infragistics.com/NetAdvantage/JSF/2009.1/featurebrowser/webgrid/inCellEditing/index.faces
Thank you!
Swetha
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