Hi Hanns,
Sorry for my late reply. For your questions:
Change the alignment of of table
You can set the cssClass
of the table like this:
"cssClass"=>array(
"td"=>"right-align"
);
And you create a css class:
<style>
.right-align
{
text-align:right;
}
</style>
Change decimal point of number, set prefix and suffix
In the Table widgets, you will find this settings. Basically you can format any kinds of number and currency
"columns"=>array(
"amount"=>array(
"type"=>"number",
"decimals"=>2,
"thousandSeparator"=>",",
"decimalPoint"=>".",
"prefix"=>"$",
"suffix"=>"",
)
)
page breaks in lists, header, footer
I think this option is good for exporting PDF or printing only. And for your information, we are working on an package called Exporting
which can handle those page header, footer, page break, exporting to PDF, JPG and others.
Change ordering by end-user
This is easy. Basically the KoolReport is allowed to set parameters. And those params can be access in setup()
function of the report. So you receive input from user like the ordering desc or asc, you pass to the report, and in the setup()
function we order the data accordingly. Please refer to this post: How to insert parameters to KoolReport?.
Grouping with intermediate header
I am not sure if you mean this intermediate header like this: KoolGrid Grouping
If so, we will consider it in future version of \koolreport\widgets\koolphp\Table
Please let me know.