Render in the js or format in the php?
Render in the js or format in the php?
Just wondering what the preference is for other people and the pros / cons of either. For instance, when using serverside on a timestamp column... you can format the value in php and return a nice date/time display OR you can do the same in js with render. Is there a performance gain of either? I an leaning towards rendering values as I think that keeps the original db value intact should it be used elsewhere for operations.
This discussion has been closed.
Replies
Allan