KoolReport's Forum

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

Headermap on DataGrid #199

Open dimasmaliq opened this topic on on Jan 22, 2018 - 1 comments

dimasmaliq commented on Jan 22, 2018

hi guys, is there any options to set headermap on datatables? here is my datatables which is has some data that is generated by a cube package. i want to map the values of propinsi's column

KoolReport commented on Jan 30, 2018

Hi,

I am sorry for my late answer. If you want to map the value, you may use the "formatValue" on the column:

"columns"=>array(
    "propsini"=>array(
        "formatValue"=>function($value){
            return $value."any thing";
        }
    )
)

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
help needed

DataGrid