In Firefox 3.0.5, if you group rows and expand one, then try to collapse it, it does hides the data, but it doesn't collapse the size. This can be seen in the Samples included by going to WebGrid -> WebGrid -> Customer Viewer (AJAX) and trying to group by Contact Title on the Customer List tab.
Thanks,
Doug
Thanks, that helped a lot.
I had to add to DisplayLayout:
<ClientSideEvents AfterRowCollapsedHandler="webGrid_AfterRowCollapsedHandler" />
Then I slightly modified your code as below:
function webGrid_AfterRowCollapsedHandler(gridName, rowId) { var x = document.getElementById(rowId); x.parentNode.parentNode.style.height = ''; }
Works great!
Thanks again,Doug
Put the following client code.
function UltraWebGrid1_AfterRowCollapsedHandler(gridName, rowId){ var x = document.getElementById(rowId); x.parentNode.parentNode.style.height=24;}