TreeList/TreeListDataSource custom parameters in request

3 posts, 1 answers
  1. Daniel
    Daniel avatar
    11 posts
    Member since:
    Mar 2012

    Posted 13 Jan 2015 Link to this post

    Hey guys,

    I know the treeList is in its first public iteration and still coming up with updates and fixes.  I wanted to know if there was any way of passing other parameters when requesting the child records of a treelist.  For example:

         Child2  <-- When Making This Request is there a way to pass extra parameters such as { rootid: Root, parentid: Child1 }

    I made a fiddle where I attempted to pass extra data regarding the hierarchy on expand, however I don't get my rows to display after the datasource fetches said data.

    I'm sure there's some hook I'm missing or a function call i'm not making.  Any suggestions?


  2. Answer
    Nikolay Rusev
    Nikolay Rusev avatar
    2289 posts

    Posted 15 Jan 2015 Link to this post

    Hello Daniel,


    You can define data function for the read action and pass additional parameters there. Here is an example:


    Nikolay Rusev
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. Daniel
    Daniel avatar
    11 posts
    Member since:
    Mar 2012

    Posted 22 Jan 2015 in reply to Nikolay Rusev Link to this post

    Thanks a lot Nikolay, that really helped.
Back to Top