Thanks ivailo,
but I don’t quite understand: if the problem is the element with display none (I guess you mean the deselected tab), why is it that when the grid is not sorted I don’t get any problem? Or when the grid’s width and height are set to a fixed number (and not percentage)?
I’d rather expect the same behavior in these cases, but the grid works perfectly. And also, even when keeping the grid sorted and the width + height to percentage, it works the first time that I click the button (also in this case the tab has display none, but the grid works) – but not the second time.
Sadly, I can’t have the button in the same tab of the grid because of the user request…
I hope you can find a solution for this.