Cant get my show/hide details to work
Cant get my show/hide details to work
hassan1984
Posts: 2Questions: 0Answers: 0
i m using datatables for first time but cant get any data out when using show/hide details i just cant figure out what i am doing wrong, have seen many others discussions on this topic but it didnt help hopefully somebody can help me figuring this out.
"[code]
var oTable;
/* Formating function for row details */
function fnFormatDetails ( nTr )
{
var aData = oTable.fnGetData( nTr );
var sOut = '';
sOut += 'Rendering engine:'+aData[1]+' '+aData[2]+'';
sOut += 'Link to source:Could provide a link here';
sOut += 'Extra info:And any further details here (images etc)';
sOut += '';
return sOut;
}
$(document).ready(function() {
oTable = $('#example').dataTable( {
"sPaginationType": "full_numbers",
"bProcessing": true,
"bServerSide": true,
"sAjaxSource": "/inc/server_processing_keylend.php",
"oLanguage": {
"sSearch": "S
"[code]
var oTable;
/* Formating function for row details */
function fnFormatDetails ( nTr )
{
var aData = oTable.fnGetData( nTr );
var sOut = '';
sOut += 'Rendering engine:'+aData[1]+' '+aData[2]+'';
sOut += 'Link to source:Could provide a link here';
sOut += 'Extra info:And any further details here (images etc)';
sOut += '';
return sOut;
}
$(document).ready(function() {
oTable = $('#example').dataTable( {
"sPaginationType": "full_numbers",
"bProcessing": true,
"bServerSide": true,
"sAjaxSource": "/inc/server_processing_keylend.php",
"oLanguage": {
"sSearch": "S
This discussion has been closed.
Replies
Allan
Allan