-2

In Google Appmekar i need to sort data in datewise so i used below line but didn't work.

    myDataSource1.query.sorting.inwarddate._ascending();

anyone have idea about appmekar?

priyanka
  • 1
  • 2

1 Answers1

0

That should work, except that each time you want to sort the datasource, you have to load it. Hence, it should look like this:

myDatasource1.query.sorting.inwarddate._ascending();
myDatasource1.load();

You should take a look at the official documentation for more details.

Morfinismo
  • 4,985
  • 4
  • 19
  • 36