hierarchical grid multiple parameters

4 posts, 0 answers
  1. Wyatt
    Wyatt avatar
    22 posts
    Member since:
    Aug 2012

    Posted 05 Nov 2013 Link to this post

    for a hierarchical grid, how do I pass multiple parameters to action?  I would like to also pass filter = somefilter

    currently using this format

     .DataSource(dataSource => dataSource
                    .Ajax()
                    .PageSize(5)
                    .Read(
                    read => read.Action("IndexBinding_acts", "RptInputMetrics", new { csg = "#=next#" }))

                )

  2. nikobellic
    nikobellic avatar
    46 posts
    Member since:
    Feb 2013

    Posted 05 Nov 2013 Link to this post

    Please read the answer for this thread

    Let me know if you need help :)
  3. Kendo UI is VS 2017 Ready
  4. Wyatt
    Wyatt avatar
    22 posts
    Member since:
    Aug 2012

    Posted 06 Nov 2013 Link to this post

    Thanks,

    I have tried this method but am unsure how to get the values from the row I am working with.  Say I have a grid that has 

    - state | state code|additional information
       +  City| zip code

    when I click the expander on the first line I want to get state and state code to send to the controller to get the next line that shows city and zip code.
  5. Petur Subev
    Admin
    Petur Subev avatar
    1882 posts

    Posted 08 Nov 2013 Link to this post

    Hello Wyatt,

    What exactly is the problem with the approach used within the hierarchy demo? I assume you are trying to achieve the same behavior and send the ID of the parent Grid row to the read request of the child Grid.

    http://demos.kendoui.com/web/grid/hierarchy.html


    Kind Regards,
    Petur Subev
    Telerik
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top
Kendo UI is VS 2017 Ready