Need a special offer?Find out if your project fits.
+

Initialinzing the Flexmonster with all rows and columns unsorted.

Answered
Nirmallya Kundu asked on March 21, 2016

While passing the JSON and initialinzing the Flexmonster, How to intialize with all rows and columns unsorted? The data should come as per my JSON without internal sorting.

3 answers

Public
Roman Petrusha Roman Petrusha Flexmonster March 21, 2016

Please set sort as 'unsorted' like this rows: [{uniqueName: "Color", sortName: "unsorted"}]
See the working sample here: https://jsfiddle.net/tua7owjs/15/

Public
Nirmallya Kundu March 21, 2016

Thank you..

Public
Tanya Gryshko Tanya Gryshko Flexmonster December 5, 2016

Hello Nirmallya and all Flexmonster users,
Starting from version 2.3, sortName property was renamed to sort. Also, report object was structured. Properties were logically grouped into sub-objects. For example, all related to data sources properties are inside dataSource sub-object now. JSON report objects of the previous version and XML reports are fully supported in terms of backward compatibility. Please check the updated sample: https://jsfiddle.net/flexmonster/z5oLeddd/
Regards,
Tanya

Please login or Register to Submit Answer