Custom rendered data as stored functions

Custom rendered data as stored functions

mihalispmihalisp Posts: 125Questions: 22Answers: 0

Hi,i have the same custom computed-rendered data fields in many different datatables and i want to save-store this rendered code as a function in myfunctions.js .

How can this be possible?How can i save this code in a function and how to call it inside data field so that i don't write the same code in many different locations?

I am confused about how to call the stored function in the "render" section of field.

eg. function (data, type, row) { ...} could be MyStoredFunction (data, type, row) {.... } ?

This question has an accepted answers - jump to answer


Sign In or Register to comment.