Radgrid sorting via clicking column

3 posts, 0 answers
  1. Dave
    Dave avatar
    16 posts
    Member since:
    Oct 2007

    Posted 11 Oct 2013 Link to this post

    Is their anyway to click a column programactically in winforms using q2 2013 the company i work for uses your controls hallmark solutions in belfast. id rather sort by the grid than on the source
  2. erwin
    erwin avatar
    358 posts
    Member since:
    Dec 2006

    Posted 14 Oct 2013 Link to this post

    Hi Dave,
    have a look at the docs at:

    http://www.telerik.com/help/winforms/gridview-sorting-setting-sorting-programmatically.html

    Regards
    Erwin
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Dimitar
    Admin
    Dimitar avatar
    1404 posts

    Posted 15 Oct 2013 Link to this post

    Hi Dave,

    Thank you for contacting Telerik support.

    To achieve the desired effect just set the SortOrder property in code like this:
    radGridView1.Columns[1].SortOrder = RadSortOrder.Descending;

    Also I recommend you to take a look at the article that Erwin has suggested.

    I hope this will be useful. Should you have further questions, I would be glad to help.

    Regards,
    Dimitar
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC 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