I had displayed print using window.print. But the prob is if I expand one row, then when I click on print then that expanded row is collapsed.