KoolReport's Forum

Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
Forum's Guidelines

Table grouping destroys the sorting of DataStore #1069

Open Stefan Dietl opened this topic on on Aug 30, 2019 - 2 comments

S
Stefan Dietl commented on Aug 30, 2019

I have sorted my datastore by mysql like: ORDER BY aaa, bbb, ccc

In the view I have a table with "Row Group" like:

Table::create(array(

...
"grouping"=>array(aaa),
),

))

that destroys the sorting of "bbb" and "ccc". I also tried sorting with -> pipe (Sort ()), which did not help

What am I doing wrong?

Thanks Stefan

K
KoolReport commented on Sep 1, 2019

Please use the "sorting" of Table to overcome this issue. Here is the documentation.

S
Stefan Dietl commented on Sep 5, 2019

Thank You!

Build Your Excellent Data Report

Let KoolReport help you to make great reports. It's free & open-source released under MIT license.

Download KoolReport View demo
solved

None