Hi
I have a WinListView control bound to a data set of employees. When the data was entered, one or more employees were selected. I would like to display the first employee selected when the form is displayed.
For example, I have a list of 50 employees and I select John Smith which is the 20th employee is the list. The list only display the first 6-7 employees without scrolling down. I would like to scroll the list to the first checked employee when the form is loaded.
I am using Infragistics Ultimate 2016.2.
Any help greatly appreciated.
Regards
James O'DohertySolution and Database ArchitectWinSQL Solutions Ltd
Hi John
Many thanks for the prompt reply and have a great holiday season.
Cheers
James
Hello James,If you set the ActiveItem to the item you want to your desired item during initialization, the UltraListView should scroll to that item. This can be done like so: ultraListView1.ActiveItem = ultraListView1.Items[20];Please try that and let me know if this gives you the desired effect.