Manipulate Column in datatable row

Manipulate Column in datatable row

i1yasi1yas Posts: 1Questions: 1Answers: 0

Hello, how are you?
I m using data table to load data from the database. there is a datetime column that I want to Manipulate. So basically i want to use momentjs and convert datetime to user's locale time etc.
I tried createdRow however that event is called after data has been inserted into the rows.
is there beforeCreatedRow row type event so that i can Manipulate data before inserting into row ?
thank you.

Answers

  • kthorngrenkthorngren Posts: 20,139Questions: 26Answers: 4,735

    To manipulate the cell data you are better off using a renderer. This datatime rendering plugin should do what you want.

    Kevin

Sign In or Register to comment.