Exclude definded Text/HTML in exports (pdf, cvs etc) in each row
Exclude definded Text/HTML in exports (pdf, cvs etc) in each row
sigTable
Posts: 1Questions: 0Answers: 0
from PHP server script (a loop from db array)
[quote]
$qTable .= '
'.$row['id'].'
'.$row['section'].'
'.cuttext($row['question'],140).'HIDE THIS IN TABLETOOLS OUTPUT/td>
'.$row['essential'].'HIDE THIS IN TABLETOOLS OUTPUT
'.$row['optional'].'HIDE THIS IN TABLETOOLS OUTPUT
';
[/quote]
Any help? See above. All I would like to know is how do I hide something on export for datatools (but yet show it in the table on screen)
Is the answer in _fnGetDataTablesData loop
/* Strip newlines, replace img tags with alt attr. and finally strip html... */
sLoopData = mTypeData.replace(/\n/g," ");
sLoopData =
sLoopData.replace(/
[quote]
$qTable .= '
'.$row['id'].'
'.$row['section'].'
'.cuttext($row['question'],140).'HIDE THIS IN TABLETOOLS OUTPUT/td>
'.$row['essential'].'HIDE THIS IN TABLETOOLS OUTPUT
'.$row['optional'].'HIDE THIS IN TABLETOOLS OUTPUT
';
[/quote]
Any help? See above. All I would like to know is how do I hide something on export for datatools (but yet show it in the table on screen)
Is the answer in _fnGetDataTablesData loop
/* Strip newlines, replace img tags with alt attr. and finally strip html... */
sLoopData = mTypeData.replace(/\n/g," ");
sLoopData =
sLoopData.replace(/
This discussion has been closed.