How to output the result of a function

How to output the result of a function

xionhackxionhack Posts: 5Questions: 0Answers: 0
edited November 2010 in General
Hello. I'm using the server side example of DataTables. I want to get all my values from a mysql database.

I want to output the 9 columns. 7 from table "A" and 2 from table "B". One of the columns of table A that im going to output is just a simple number, but I want to run a function with that number so that It shows the value that I want. I'm looking at the code and by what I see DataTables only shows the raw value of the tables, because I'm taking the values from a database, I don't want to show just raw data. Can somebody help me? Thank you

Replies

  • GerardoGerardo Posts: 66Questions: 0Answers: 0
    Use fnRowCallback as described in http://datatables.net/forums/comments.php?DiscussionID=3283 , but change the actual value of the field according to your function instead of the class?
This discussion has been closed.