How can you set up the grid, so that when the user tabs, only editable cells are in the tab order?
I have almost the same problem, but i also have to allow the user to add the row (add new row) when pressing the enter key in the last editable cell or when the focus is on the last cell, but the last column is not editable (it's value is set programatically using javascript). Anyone have any idea of how can i do that? I tried some javascript similar to the one posted before, but it didn't work, because i could'nt find any method to tell the grid that i want this add new row to be added (client side). Also it captures the "enter" even if the cell is not in edit mode (only active), so the enter doesn't work to get the cell editable, the routine is executed and everything gets messed up...
samuelmpmac said: I have almost the same problem, but i also have to allow the user to add the row (add new row) when pressing the enter key in the last editable cell or when the focus is on the last cell, but the last column is not editable (it's value is set programatically using javascript). Anyone have any idea of how can i do that? I tried some javascript similar to the one posted before, but it didn't work, because i could'nt find any method to tell the grid that i want this add new row to be added (client side). Also it captures the "enter" even if the cell is not in edit mode (only active), so the enter doesn't work to get the cell editable, the routine is executed and everything gets messed up...
I found this in the CSOM for the Uwg:
The add new row object. Inherited from the row object. All properties and methods from the row object are applicable to the add new row object. Plus there are several new ones.
If any cell in the add new row was changed the method adds a new row to the collection and applies entered data.
Object. Returns the newly added row or null if no row was added to the collection.
Indicates if the add new row is a fixed row on top or on the bottom.
Boolean. Valid for the top rows collection only, if not top collection the method always returns false.
Indicates if the add new row is a fixed row on the bottom.
Indicates if the add new row is a fixed row on top.
Boolean. Indicates if a row object is an add new row's object.