Hi,
i'm using an UltraGrid with
DisplayLayout.Override.AllowAddNew = AllowAddNew.FixedAddRowOnTop;
Now, if i add some new rows (just type and press enter) and then i press cursor-down, to get to the first data row, UltraGrid is jumping to the second row o.O
To Reproduce:
- Create a new Form
- Put an UltraGrid on it
- call this function to set the options:
public void initTest(UltraGrid dfG) { dfG.DisplayLayout.AutoFitStyle = AutoFitStyle.ExtendLastColumn; dfG.DisplayLayout.GroupByBox.Hidden = true; dfG.DisplayLayout.Override.AllowAddNew = AllowAddNew.FixedAddRowOnTop; dfG.DisplayLayout.Override.AllowDelete = DefaultableBoolean.True; dfG.DisplayLayout.Override.CellClickAction = CellClickAction.CellSelect; dfG.DisplayLayout.Override.CellMultiLine = DefaultableBoolean.False; dfG.DisplayLayout.Override.HeaderClickAction = HeaderClickAction.SortMulti; dfG.DisplayLayout.Override.RowSizing = RowSizing.AutoFree; }
- now enter a few rows
- now try to go down with Cursor... you will jump one row too far
Is there a work-around for that?
Hello,
I believe I have identified the behavior simply by pressing tab off of the AddNewRow with FixedAddRowOnTop set. My sample attached already has a row or two. Can you please confirm that this is the only way you have reproduced this behavior?
and here's a video showing the Tab-Problem.
Tab on the last cell of the AddRow will bring you to the 3rd Data-Row (if you typed in something). Not on the Video: If you don't type anything (only F2, then Tab thru), you will land on the 2nd Data-Row (after Tab on the last cell in AddRow)
That Tab-Thing is a different problem because i would expect to land on the first cell of the AddRow - to be able to add another Row quickly. But lets first concentrate on one problem at a time :)
Wow - so i really found a glitch :)
Thanks for forwarding this as case to the developers and i hope that they can offer a fix - or a work-around :)
Yes as long as you are not in edit mode and have rows, with FixedAddRowOnTop and CellSelect set, pressing the down arrow skips the first visible row and the second row selected.
I have opened a private case for you so that I can link it to an internal development issue. This way you will be notified automatically when the dev issue is updated. The case number is CAS-150063-Y7D3W8. You will see it located here: https://es.infragistics.com/my-account/support-activity
In the log notes I included the two additional scenarios:
2. Tab off last cell of AddNewRow with CellSelect or Edit mode results in selecting the second row selected.
3. Tab off last cell of AddNewRow when you are in Edit mode after entering new data results in selecting the third visible row.
Let me know if you have any questions regarding this matter.