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?
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 :)
Hello,
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.
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 :)
i've attached a video showing the Cursor-Down-Problem
Oh dear... i didn't see THAT problem before you described it.
That's another Problem - right! But it's more strange than my Cursor-Down-Problem.
This "Tab"-Problem behaves differently:
- Add some Rows (F2, typing, pressing Enter). 4 or 5
- Now add a new Row by typing in the first column, then pressing tab until you leave the last column of the AddRow.
- As i did it the first time (right after adding a few rows with Enter), the Grid jumps out of the AddRow into the the 3rd Data-Row o.O
- Then i did it again (set focus to first column in AddRow, F2, typing, pressing Enter until i left AddRow) - now it jumps to the 2nd Data-Row
(i've tested this with Mike's Project which i changed to Infragistics 14.2 by replacing the references - His project was using 14.1)