GridViewComboBox column, - position of the scroll arrow

2 posts, 0 answers
  1. Jill-Connie Lorentsen
    Jill-Connie Lorentsen avatar
    118 posts
    Member since:
    Nov 2008

    Posted 29 Jan 2014 Link to this post

    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
  2. Stefan
    Admin
    Stefan avatar
    2908 posts

    Posted 31 Jan 2014 Link to this post

    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 >>
Back to Top