'odd' and 'even' over rows hidden

'odd' and 'even' over rows hidden

jytestjytest Posts: 26Questions: 0Answers: 0
edited May 2013 in DataTables 1.9
Hi,

I need your help.

I used datatables with hidden lines.

1.
I can not return the background of the parent row ('odd' or 'even'), to the dependent rows hidden.
I can not change the background property of 'details', based on the values ​​'odd' and 'even'.

2.
I would also have liked the mouseover is disabled for hidden rows.

Can you help me?

[code] $('#example tbody td img').live('click', function () {
var nTr = $(this).parents('tr')[0];
if (oTable.fnIsOpen(nTr)) {
this.src = "images/recherche/detailouvrir.gif";
oTable.fnClose( nTr );
} else {
this.src = "images/recherche/detailfermer.gif";
oTable.fnOpen( nTr, fnFormatDetails(oTable, nTr), 'details' );
}
} );
[/code]

[code] function fnFormatDetails (oTable, nTr) {
aData = oTable.fnGetData( nTr );
forme = aData[1];
image = imgforme[libforme.length-1];
for (var k=1; k

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin
    Link to a test case showing the problem please.

    Allan
  • jytestjytest Posts: 26Questions: 0Answers: 0
    edited May 2013
    Thanks.
    http://www.celinni.com/creaprint/recherche00.php,
    click over one checkcase "comparer" and click over "Comparer" up the datatable.
    You are over the page with the problem.
    Click over "Détails"...
    Thanks for your help !
  • jytestjytest Posts: 26Questions: 0Answers: 0
    Do you found a response ?
This discussion has been closed.