V
Vimalkumar Selvaraj
Guest
Hi, You can apply a sort on your dataSource as well in same way how i demonstrated in example. You don't require to create another instance of DataSource . You can call sort method on your dataSource instance, say for an example dataSource.sort({ field: "dob", dir: "asc" }); Make sure your dataSource instance is having proper schema,model defined. Or if you want to create new Data Source instance by using another dataSource do like this var newDataSource = new kendo.data.DataSource({ data:dataSource.data(), // get data from your own dataSource Instance schema:{ model:{ fields:{ } } } }) If you need more details kindly create Rollbase App by explaining your requirement , that way we can help you faster. Thanks, Vimal.
Continue reading...
Continue reading...