manipulating the data

5 posts, 0 answers
  1. Morten
    Morten avatar
    267 posts
    Member since:
    Jul 2012

    Posted 25 Feb 2015 Link to this post

    A datasouce returns this data:
    [{"i":27,"p":10,"o":"Yes"},{"i":29,"p":0,"o":"No"},{"i":30,"p":10,"o":"Yes"},{"i":31,"p":10,"o":"Yes"},{"i":32,"p":10,"o":"Yes"},{"i":33,"p":10,"o":"Yes"},{"i":35,"p":10,"o":"Yes"},{"i":37,"p":0,"o":"No"},{"i":38,"p":0,"o":"No"}...

    http://jsbin.com/tosito/2/edit?js,console,output

    I'd like to query and aggregate data in various ways on the client: like "where i = 33 group by o sum p".

    Is this possible using datasource methods only?
    Or should I be using another framework like underscore.js?

    /Morten
  2. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2565 posts

    Posted 25 Feb 2015 Link to this post

    Hello Morten,

     

    I can see that you have opened the same question in another thread, so I will go ahead and close this one. Please try to submit your questions in just a single thread as it it will make it easier for us to track them down.

     

    Thanks for the cooperation.

     

    Regards,
    Kiril Nikolov
    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. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2565 posts

    Posted 25 Feb 2015 Link to this post

    Hello Morten,

     

    I can see that you have opened the same question in another thread, so I will go ahead and close this one. Please try to submit your questions in just a single thread as it it will make it easier for us to track them down.

     

    Thanks for the cooperation.

     

    Regards,
    Kiril Nikolov
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  5. Morten
    Morten avatar
    267 posts
    Member since:
    Jul 2012

    Posted 26 Feb 2015 in reply to Kiril Nikolov Link to this post

    hi Kiril,
    sorry, however, I got an error message after submitting each post, but did not realize that the post had been registered.
    ...and I was unable to delete the duplicate posts, when I realized they had been posted.
  6. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2565 posts

    Posted 26 Feb 2015 Link to this post

    Hello Morten,

    Do not worry about it. I will forward your feedback to the team responsible for the forums, so they can take it into consideration.

    Regards,
    Kiril Nikolov
    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