pre-processing cell value before sending back from editor php to javascript
pre-processing cell value before sending back from editor php to javascript
javismiles
Posts: 205Questions: 38Answers: 3
in Editor
If one of the fields that editor returns, requires some pre-processing before being sent back? say that the column value is a date, and that date needs to be processed in some way and the value finally returned for that column wont be the date itself but something obtained after processing that date in some way, how do i do that before the value is sent back?
thank u
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
what i see that i need are these formatters
https://editor.datatables.net/manual/php/formatters
so that instead of sending back the date in datetime format, I pre-process it first, is there an example for that?
just found the solution, lets close this, thank you