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

GridViewComboBox column, - position of the scroll arrow

1 Answer 48 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Jill-Connie Lorentsen
Top achievements
Rank 1
Jill-Connie Lorentsen asked on 29 Jan 2014, 01:18 PM
I have a databound GridView with a GridViewComboBox column, among others. I would like the scroll arrow to be on the right, not left, but I can't figure out how to set this. Can you help me?


Regards, Jill-Connie Lorentsen

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 31 Jan 2014, 02:30 PM
Hi Jill-Connie Lorentsen,

Thank you for writing.

To put the editor in RightToLeft mode you can use the CellEditorInitialized event: 
void radGridView1_CellEditorInitialized(object sender, GridViewCellEventArgs e)
{
    RadDropDownListEditor editor = e.ActiveEditor as RadDropDownListEditor;
    if (editor != null)
    {
        RadDropDownListEditorElement editorElement = editor.EditorElement as RadDropDownListEditorElement;
        editorElement.RightToLeft = true;
    }
}

I hope that you find this information useful. Should you have any other questions, do not hesitate to contact us.

Regards,
Stefan
Telerik
TRY TELERIK'S NEWEST PRODUCT - APPLICATION ANALYTICS for WINFORMS.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
GridView
Asked by
Jill-Connie Lorentsen
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or