How to add Id to a cell (td) before creating the table

How to add Id to a cell (td) before creating the table

ofearofear Posts: 4Questions: 0Answers: 0
edited January 2014 in General
Hi, I'm creating a table using server side json.
Everything works fine except one thing. I need to add id to a few td's.
Example:
What I have now is:

[code]



number



count
7898


[/code]

But what I need it this:
[code]



number



count <----------- adding ID to the TD
7898


[/code]

I need to add the Id before the table exist. aka it's should be in the json.



Is it possible?

Thanks!


http://live.datatables.net/ <--ignore this

Replies

This discussion has been closed.