Hi,
I have more than 100 columns on my grid...
I want to scroll to the a specific column when the users choose one from the combobox
Can you tell me how i can d that with thre UltraGrid.
Thx
Hello Michel,
Thank you for your post. In order to scroll to a specific column into view, you can use ScrollColIntoView(UltraGridColumn method something like this:
UltraGridColumn column = this.ultraGrid1.DisplayLayout.Bands[0].Columns["Fax"]; // Call ScrollColIntoView. Pass true for the leftAlign to scroll the column as much to // the left as possible. this.ultraGrid1.ActiveColScrollRegion.ScrollColIntoView( column, true );Let me know if yopu have any question.
UltraGridColumn column = this.ultraGrid1.DisplayLayout.Bands[0].Columns["Fax"]; // Call ScrollColIntoView. Pass true for the leftAlign to scroll the column as much to // the left as possible. this.ultraGrid1.ActiveColScrollRegion.ScrollColIntoView( column, true );
Sincerely,Divya JainAssociate Software Developer