Tab stops on one-click checkbox columns

2 posts, 0 answers
  1. Chris Sterner
    Chris Sterner avatar
    6 posts
    Member since:
    Oct 2007

    Posted 19 Jun 2013 Link to this post

    I have a custom class which inherits from GridViewDataColumn.  I have a custom checkbox control to place in the grid.  I would like users to be able to toggle the checkbox with a single click.


    I looked at this topic in the help documentation,  The second approach described there most closely fits the custom column approach we are using.  So I have placed the checkbox control directly in the non-edit cell in my overridden CreateCellElement method.  The column has IsReadOnly=true set.  Users can now toggle the checkbox with one click.


    The trouble I am having is with tabstops.  When a neighboring column is in edit mode and tab is pressed, the checkbox column is skipped.  If a neighboring column is read only, is selected, and then tab is pressed, the checkbox column can be tabbed to.  It appears that cells in edit mode and non-editable cells do not tab to each other.  Normally this is fine, but in this case the checkbox can be toggled by the user.  So the user cannot understand why checkbox columns cannot be tabbed to with other editable cells. 


    Is there some way to get the checkbox column to be a tabstop like other editable cells?  I have tried changing the TabStopMode of the column, but that does not help.


    This behavior is seen on RadControls for Silverlight version 2013 Q2 0611.

  2. Dimitrina
    Dimitrina avatar
    3769 posts

    Posted 24 Jun 2013 Link to this post


    In your scenario, the cell from the custom ReadOnly column is skipped as it cannot enter into Edit mode.

    You can redefine how the GridView handles the "Tab" key (and other keys) creating your own custom keyboard provider. Please refer to our online documentation for further details. It also shows some sample code.


    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top