non-database field (server side)
non-database field (server side)
How can I insert HTML into each row of a specific column or columns? (v1.7.6)
I found this topic, but it didn't help me. I didn't see "sOutput" in my code and I have no idea where that last line would go.
http://datatables.net/forums/comments.php?DiscussionID=2747&page=1#Item_0
As of right now, I've got it to where I can see the empty columns, but I don't know how to insert anything in them.
[code]$aColumns = array( '" "', 'title', '" "', '" "', '" "' );[/code]
[code]
$(document).ready(function() {
$('#mainTable').dataTable( {
"bServerSide": true,
"sAjaxSource": "test.php",
"iDisplayLength": 5,
"sPaginationType": "full_numbers",
"sDom": '<"top"fp>t<"bottom"ip>'
} );
} );
[/code]
Keep in mind that I am not a java/php expert like some of you.
I found this topic, but it didn't help me. I didn't see "sOutput" in my code and I have no idea where that last line would go.
http://datatables.net/forums/comments.php?DiscussionID=2747&page=1#Item_0
As of right now, I've got it to where I can see the empty columns, but I don't know how to insert anything in them.
[code]$aColumns = array( '" "', 'title', '" "', '" "', '" "' );[/code]
[code]
$(document).ready(function() {
$('#mainTable').dataTable( {
"bServerSide": true,
"sAjaxSource": "test.php",
"iDisplayLength": 5,
"sPaginationType": "full_numbers",
"sDom": '<"top"fp>t<"bottom"ip>'
} );
} );
[/code]
Keep in mind that I am not a java/php expert like some of you.
This discussion has been closed.