server slide formatter

server slide formatter

raf_mixraf_mix Posts: 12Questions: 3Answers: 0

Hi,
if I have, as the standard exemple:

array(
    'db'        => 'salary',
    'dt'        => 5,
    'formatter' => function( $d, $row ) {
        return MyFunction($d);
    }
)

How can I pass the 'dt' value to the function?
(in this case MyFunction(5));

Please not that my 'dt' values are created dynamically. ( I add colomns dynamically)

Thanks in advance for answers.

Regards
raf

This discussion has been closed.