$Select command on datasource

3 posts, 0 answers
  1. Peter Beyer
    Peter Beyer avatar
    27 posts
    Member since:
    Aug 2014

    Posted 17 Sep 2015 Link to this post

    Dear Telerik,

    We need to be able to set the select command in the database request in order to get only desired data.
    We tried to do it by adding a select "data: {$select: 'ProductName, UnitPrice, Discontinued'}", but the response still contains unnecessary data.
    You can see the example here: http://dojo.telerik.com/AreTu
    We were wandering how can we achieve desired behaviour?

     

    See attached picture.

    Regards,

     

     

    Peter

  2. Petyo
    Admin
    Petyo avatar
    2438 posts

    Posted 21 Sep 2015 Link to this post

    Hello Peter,

     

    the $select parameter is passed as expected to the server as a query string parameter (check the network tab) - however, our endpoint does not process it. I assume that your own implementation may be configured to handle it as per your requirements. 

     

    Regards,
    Petyo
    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. Peter Beyer
    Peter Beyer avatar
    27 posts
    Member since:
    Aug 2014

    Posted 24 Sep 2015 in reply to Petyo Link to this post

    Hello Petyo,

    Thank you for your replay, it helped us find the solution for our issue.

    Regards.

     

     Peter

Back to Top