Quantcast
Channel: Free community support — DataTables forums
Viewing all articles
Browse latest Browse all 35594

Problem with DataTables hidden row details

$
0
0

Hi,
I have tried for days without success my data in a hidden line display. The problem is that all data of a class is display. It should, however, only one value per line display. Can someone help me? Here is the link to the table:

http://www.pskreporter.de/?s_type=rcvdby&call=dl4rck&search=Search

And here for the original sample page:

http://legacy.datatables.net/release-datatables/examples/api/row_details.html

So I have included the data with php:

<script type="text/javascript" charset="utf-8"> /* Begin Formating child function for row details */ function fnFormatDetails ( oTable, nTr ) { var aData = oTable.fnGetData( nTr ); var sOut = '<div style="text-align: left"> <?php while ($this->getReportData($data)):?> <?php echo $data->dxcc ?> <?php endwhile; ?></div>'; return sOut; } /* Begin Formating child function for row details */ $(document).ready( function () {

In my example, the name of country should be displayed in the hidden row. So the same country as it is in that column "Country".
Please write if I should provide more information, thank you.

Stumpi


Viewing all articles
Browse latest Browse all 35594

Trending Articles