Hello.
I'm making a custom api, and I want a pivot table to come out, but I got a /select request from the front in the form of a flat table.
I was wondering why this is the case, can the developer decide on the pivot/flat form.
Hello,
Thank you for contacting us.
Flexmonster sends the /select request for the pivot table, the flat table, or the drill-through view based on the current view. The view is defined in the options.grid.type
property of the Report object. With this in mind, if the type
is set to compact
or classic
, the /select request for the pivot table will be sent, and if it is defined as flat
type, the /select request for the flat table will be sent. Finally, if you open the drill-through view (double click on the cell in the pivot table), the server will receive the /select request for the drill-through view.
Please let us know if other questions arise.
Kind regards,
Nadia