Click on single row details is closing all open rows' details
Click on single row details is closing all open rows' details
I'm using this code to collapse/expand row with the content taken from an external array (named 'details_arr').
1) When I click on it works correctly.
2) If i click on when expanded it does nothing (this may be not considered a problem, but it should be better if both and click collapse the row details.)
3) When I click on containing details, it closes ALL other open s, when it should close only itself.
Thanks in advance for great support
[code]$('#table_navigation tbody tr').live('click', function () {
var that = this;
otable_navigation.fnOpen( this, details_arr[otable_navigation.fnGetData( that )[0]], 'row_details' );
$('#table_navigation .row_details').live('click', function () { otable_navigation.fnClose(that); } );
} );[/code]
1) When I click on it works correctly.
2) If i click on when expanded it does nothing (this may be not considered a problem, but it should be better if both and click collapse the row details.)
3) When I click on containing details, it closes ALL other open s, when it should close only itself.
Thanks in advance for great support
[code]$('#table_navigation tbody tr').live('click', function () {
var that = this;
otable_navigation.fnOpen( this, details_arr[otable_navigation.fnGetData( that )[0]], 'row_details' );
$('#table_navigation .row_details').live('click', function () { otable_navigation.fnClose(that); } );
} );[/code]
This discussion has been closed.
Replies