Can I add unique id to each cell that is a combination of string and id
Can I add unique id to each cell that is a combination of string and id

Hi,
I have an issue that I am trying to find a work around it, so basically I want to add a unique id to each cell of the table that will be a combination of string and also id from a mysql table so and id can look like this id="firstname_12" 12 representing the id from mysql.
I have tried to achieve something like this with fncreatedcell but not succeed.
Can I achieve something like this in datatables?
Thank you
This discussion has been closed.
Answers
You should be able to. What have you tried? Can you post your code or better a test case showing what you are trying:
https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case
Kevin
Hi,
I have tried with fncreatedCell, here you can find a link to it but I have an ajax call on the table so I can't display it.
http://live.datatables.net/kinenaze/1/edit
Thank you,
For the test case, you can just load the data with
data
rather than Ajax, the important thing is for us to see a running example of the issue you want help with.Colin