KoolReport's Forum

Official Support Area, Q&As, Discussions, Suggestions and Bug reports.

Table grouping destroys the sorting of DataStore #1069

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

Stefan Dietl commented on Aug 30

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

KoolReport commented on Sep 1

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

Stefan Dietl commented on Sep 5

Thank You!

Give tips to supporter for his good work

If you feel that supporter has done a good work, consider giving him some credit. Any amount put into the tips box below is appreciated. By doing so, you have contribtuted to the existence of KoolReport and the quality of support.

Tips box
solved

None