GridView header keyboard usage

4 posts, 0 answers
  1. Antti
    Antti avatar
    23 posts
    Member since:
    May 2011

    Posted 21 Nov 2011 Link to this post

    Hi,

    I would like to ask about how RadGridView handles keyboard usage in relation to column header. Is there a way to:

    1) get keyborad focus to column headers?
    2) resize or sort columns through keyboard?
    3) get keyboard focus to funnel-icons?
    4) filter column through keyboard?

    Regards,
    Antti
  2. Vanya Pavlova
    Admin
    Vanya Pavlova avatar
    2019 posts

    Posted 21 Nov 2011 Link to this post

    Hi Antti,

     
    You may predefine the default keyboard behavior through implementing your own CustomKeyboardCommandProvider. From the following forum thread you may see how this can be applied to GridViewHeaderCells.


    Will you please take a look at this thread and let me know how this works for you? 



    All the best,
    Vanya Pavlova
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. Antti
    Antti avatar
    23 posts
    Member since:
    May 2011

    Posted 21 Nov 2011 Link to this post

    Hi,

    My main problem is that column header cell and funnel icon seem to reject all tab navigation even if their IsTabStop properties are set to true. Is there a way to get them to get keyboard focus?

    In relation to my other problems, I can see that the provided link helps in defining new shortcuts to pre-defined commands, such as:
    • BeginInsert, Delete, etc.

    However,  I cannot see a way to add new commandssuch as Sort, Filter, etc.. Is adding new commands possible?

    Regards,
    Antti

  4. Vanya Pavlova
    Admin
    Vanya Pavlova avatar
    2019 posts

    Posted 21 Nov 2011 Link to this post

    Hi Antti,

     
    The example from the previosly referenced thread demonstrates how to handle navigation and sorting using the keyboard. In a similar way you may implement your own behavior for the desired functionalities.
    In addition to this I am attaching you the project from this thread which you may use for further reference.




    Regards,
    Vanya Pavlova
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top