Listview datasource

2 posts, 0 answers
  1. David
    David avatar
    2 posts
    Member since:
    Mar 2014

    Posted 27 Mar 2014 Link to this post

    I need to populate a data-source with a post to serverside script the data is returned in JSON format the parameters are similar to the post below:-

                        PC: $('#PC').val(),
                        MTC: $('#MTC').val(),
                        LLF: $('#LLF').val(),
                        REC: $('#REC').val()

    The query is to large to perform without these parameters

    Please Help also I know there is very little info but as its quite a simple thing I am looking to do hopefully it should be enough.
  2. Alexander Valchev
    Alexander Valchev avatar
    2895 posts

    Posted 01 Apr 2014 Link to this post

    Hi David,

    First of all let me apologize for the late reply. There was a problem in our internal system with this particular thread which is why the answer got delayed.

    If I understood correctly you are wondering how to pass additional data with the DataSource request. In order to achieve that you should use the parameterMap function of the transport.
    Please use this function to add parameters to the DataSource's ajax requests.

    Alexander Valchev
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top