Three way CheckBox Column?

6 posts, 0 answers
  1. Dan Andrews
    Dan Andrews avatar
    28 posts
    Member since:
    Jul 2009

    Posted 23 Jun 2011 Link to this post

    I'd like to have a GridViewCheckBoxColumn who has three states, NULL, True, False.  Null will display the check box with a solid box in it, True would show the check, and False will show an empty box.  Any ideas while still using a GridViewCheckBoxColumn?

    -Dan
  2. Ivan Ivanov
    Admin
    Ivan Ivanov avatar
    1128 posts

    Posted 24 Jun 2011 Link to this post

    Hi Dan Andrews,

    I would advise you to use a templated GridViewDataColumn in such a case. Please, refer to the attached example.

    Regards,
    Ivan Ivanov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. DevCraft banner
  4. Dan Andrews
    Dan Andrews avatar
    28 posts
    Member since:
    Jul 2009

    Posted 24 Jun 2011 Link to this post

    Thanks for getting back to me.  I ended up using a GridViewDataColumn with a RadToggleButton in the CellTemplate.  I was just hoping for a "IsThreeState" on a GridViewCheckBoxColumn or to make a suggestion for a future build.
  5. Ivan Ivanov
    Admin
    Ivan Ivanov avatar
    1128 posts

    Posted 27 Jun 2011 Link to this post

    Hello Dan Andrews,

    There appears to be some issue with this feature in our latest builds. It will be fixed in one of our future releases. Meanwhile, I would advise you to use a templated GridViewDataColumn. Thank you.

    Best wishes,
    Ivan Ivanov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  6. Ivo
    Ivo avatar
    38 posts
    Member since:
    Jul 2011

    Posted 08 Jan 2013 Link to this post

    Hi Ivan,

    has this issue ever been fixed? I am using build 2012.3.1017.1050 and facing the same behavior. Using DataTemplates is not a good option for my scenario. I have 8 CheckBox columns and I just want to set the checkbox to collapsed depending on the DataContexts's property. Using a data column, writing a template selector and 16 different data templates just for this feature is an overkill. I was hoping I could use the IsThreeState - Property with a VisualState to implement this.

    It looks like CellTemplateSelector - property of GridViewCheckBoxColumn is not working either.

    Best regards,
    Stefan
  7. Ivan Ivanov
    Admin
    Ivan Ivanov avatar
    1128 posts

    Posted 11 Jan 2013 Link to this post

    Hi Stefan,

    We will fix this property for the next internal build. It will be publicly available in the beginning of the next week.

    All the best,
    Ivan Ivanov
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top
DevCraft banner