This is a migrated thread and some comments may be shown as answers.

manipulating the data

1 Answer 31 Views
Data Source
This is a migrated thread and some comments may be shown as answers.
Morten
Top achievements
Rank 2
Iron
Iron
Veteran
Morten asked on 25 Feb 2015, 10:23 AM
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

1 Answer, 1 is accepted

Sort by
0
Kiril Nikolov
Telerik team
answered on 25 Feb 2015, 11:45 AM

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!
 
Tags
Data Source
Asked by
Morten
Top achievements
Rank 2
Iron
Iron
Veteran
Answers by
Kiril Nikolov
Telerik team
Share this question
or