This is a migrated thread and some comments may be shown as answers.

MultiColumn combo - how to scroll down to selected row?

1 Answer 113 Views
MultiColumn ComboBox
This is a migrated thread and some comments may be shown as answers.
Daniel
Top achievements
Rank 1
Daniel asked on 26 Jan 2009, 08:27 PM
The row is selected, but when I open dropdown, I have to scroll down manually to locate it. Is there any way how to scroll down to the selected row programically?

1 Answer, 1 is accepted

Sort by
0
Accepted
Nick
Telerik team
answered on 29 Jan 2009, 06:42 PM
Hi Daniel,

Thank you for your question.

Please refer to the following sample code:

private void radMultiColumnComboBox1_DropDownOpened(object sender, EventArgs e) 
 
            ((RadGridView)this.radMultiColumnComboBox1.EditorControl).GridElement.ScrollTo(this.radMultiColumnComboBox1.SelectedIndex, 0); 

Do not hesitate to contact me back if you have further questions.

Greetings,
Nick
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
MultiColumn ComboBox
Asked by
Daniel
Top achievements
Rank 1
Answers by
Nick
Telerik team
Share this question
or