Sorry if this is redundant. It's hard to explain what I'm looking for, and even harder to Google. I am using dataTables to display an interactive list of users that looks like this: http://www.flickr.com/photos/97024286@N07/8960402297/
As you can see there are icon buttons mixed in with the user data. I wanted to change the table so it's being populated via fnServerData, (right now it's built on page load then turned into a dataTable). I can't tell if there's a way to interrupt the output from fnServerData and add classes to empty cells, and add some data from fnServerData as attributes of a cell, not the text. Is that possible? The code below is an example of a couple cells. Hope this makes sense. Thanks!
As you can see there are icon buttons mixed in with the user data. I wanted to change the table so it's being populated via fnServerData, (right now it's built on page load then turned into a dataTable). I can't tell if there's a way to interrupt the output from fnServerData and add classes to empty cells, and add some data from fnServerData as attributes of a cell, not the text. Is that possible? The code below is an example of a couple cells. Hope this makes sense. Thanks!
<tr id="{row id from database}"> <td class='start'></td> <td class='open'></td> <td>{first name from database}</td>