In the attached example Shift-select doesn' work correctly after selecting a row by code.Situation: Tree with 100 entries. SelectType is ExtendedAutoDrag. Before searching the SelectType is changed to Single so only the one found row is selected. - Select Row #5- Enter 20 in text field and press search button- Messagbox shows, that row 20 is selected and active- Shift click in row 22
Expected behaviour: rows 20 - 22 are selectedExperienced behaviour: rows 5 - 22 are selected.
This is the search code:Me.ugdTcodes.DisplayLayout.Override.SelectTypeRow = Infragistics.Win.UltraWinGrid.SelectType.Single
For Each uRow As Infragistics.Win.UltraWinGrid.UltraGridRow In Me.ugdTcodes.Rows If uRow.Cells("Tcode").Value.toupper = Me.txtSearchStringGrid.Text.ToUpper Then uRow.Activate() uRow.Activated = True uRow.Selected = True Else uRow.Selected = False End If Next Me.ugdTcodes.DisplayLayout.Override.SelectTypeRow = Infragistics.Win.UltraWinGrid.SelectType.ExtendedAutoDrag
Are there more properties of the tree/rows to be taken into account or is this an error?
It is fixed in 2011.1.2009.
Not sure about other releases though.
Sorry, it does not work.
I got mixed up (Shift - Ctrl). It has been working with Ctrl-Click but not with Shift-Click. Still same behaviour now with hotfix 2009.
Hello,
I am just checking about the progress of this issue. Let me know If you need my further assistance on this issue?
Thank you for using Infragistics Components.