Hiding child

3 posts, 0 answers
  1. Nicholas
    Nicholas avatar
    5 posts
    Member since:
    May 2015

    Posted 04 Nov 2015 Link to this post

    Is there a way of using the createChild event for certain rows based on the value of a column.  I have a treelist that contains folders and subfolders which in turn contain rows designated as "files".  For these "file" rows we do not need to create a child within them.  We have a type column and if the value is set to 1 we should not enable the createChild event.  Thanks
  2. Nikolay Rusev
    Admin
    Nikolay Rusev avatar
    2285 posts

    Posted 05 Nov 2015 Link to this post

    Hello Nicholas,

     

    You could use dataBound event, iterate over rows, get the data item for each row and if there is match hide the button in that row.

     

    That is one way to achieve this.

     

    Regards,
    Nikolay Rusev
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. Kendo UI is VS 2017 Ready
  4. Nicholas
    Nicholas avatar
    5 posts
    Member since:
    May 2015

    Posted 10 Nov 2015 in reply to Nikolay Rusev Link to this post

    Thank you very much.  That worked perfectly.
Back to Top