Arrow Behavior in Grid

2 posts, 0 answers
  1. ROBERT
    ROBERT avatar
    1 posts
    Member since:
    Jun 2013

    Posted 20 Jun 2013 Link to this post

    Hello,

    I'm looking for a way to suppress the left arrow when in the first column and the right arrow when in the last column of the grid.  Basically, I don't want the user to back into a previous record by hitting the left arrow or move to the next record when hitting the right.  I do however want them to be able to navigate through the columns using the right and left arrows.

    How would this be achieved?  I can't find an example in the docs.

    Thanks,
    Rob
  2. George
    Admin
    George avatar
    500 posts

    Posted 24 Jun 2013 Link to this post

    Hello Robert,

    Thank you for contacting us.

    To be able suppress the default arrow behavior in the gridview you need to do a few things:
    1. Unregister the default behavior of your grid.
    2. Create a class which derives from the GridRowBehavior
    3. Register the new behavior
    I am attaching a project below to give you a better representation of the method used.

    If you have any more questions do not hesitate to contact us.

    Regards,
    George
    Telerik
    RadChart for WinForms is obsolete. Now what?
Back to Top