How to add Checkbox into the first column?

4 posts, 2 answers
  1. wg
    wg avatar
    30 posts
    Member since:
    Jul 2006

    Posted 30 Aug 2010 Link to this post

    Hi,

    I want to add Checkbox into the first column, like Assembly Minifier of telerik (Actually is Minifier made of TreeListView?)

    Also please check the attached pic.

    Thanks in advance,
    Bill
  2. Answer
    Yavor Georgiev
    Admin
    Yavor Georgiev avatar
    982 posts

    Posted 30 Aug 2010 Link to this post

    Hello wg,

     You can use a GridViewCheckBoxColumn and bind it to a boolean property of your model.

     The Assembly Minifier currently uses RadTreeView, as work on it began before the rewriting of RadTreeListView.

    Regards,
    Yavor Georgiev
    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. wg
    wg avatar
    30 posts
    Member since:
    Jul 2006

    Posted 30 Aug 2010 Link to this post

    Hi Yavor,

    Thank you so much for the quick answer.

    Maybe I should not ask here, but how to define multiple column with RadTreeView? I took a look at the demo of RadTreeView but I didn't find it. So, looks RadTreeView misses multiple column and TreeListView misses Checkbox?

    Or how can I build a layout like Assembly Minifier with both  Multiple column and Checkbox?

    Thanks,
    WG
  5. Answer
    Yavor Georgiev
    Admin
    Yavor Georgiev avatar
    982 posts

    Posted 30 Aug 2010 Link to this post

    Hello wg,

     RadTreeView does not support a true multi-column layout by design. Checkbox selection is built-in, as detailed in this demo.

     You can also insert a GridViewCheckBoxColumn in RadTreeListView to also achieve a CheckBox, which you can bind to a property of your data object.

    Regards,
    Yavor Georgiev
    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
Back to Top