Hide Row when is showing its details...
Hide Row when is showing its details...
misterbean
Posts: 4Questions: 0Answers: 0
Hi Allan, thanks for this work.
Im using your table, specially the feature of show details of a row. When I show the details, I'd like to hide the "parent" row because the details contains also the information of the row, but with other format o "style".
How can I hide temporally the row or use any css trick?
Thanks in advanced,
MrBean.
Im using your table, specially the feature of show details of a row. When I show the details, I'd like to hide the "parent" row because the details contains also the information of the row, but with other format o "style".
How can I hide temporally the row or use any css trick?
Thanks in advanced,
MrBean.
This discussion has been closed.
Replies
1. I created a class display_none with the only attribute display:none;
2. When I show the details I keep the row is in a variable $myRow and add to this row the class display_none and hide the row.
$myRow.addClass('display_none');
3. When I close the details, remove the class display_none from $myRow and everything return to the inital state...
$myRow.removeClass('display_none');