Tabbar and Grid (with paging)

I have a Tabbar. It contains Toolbar , Grid with Paging.
I enabled Paging in Grid.
Code:
grid.enablePaging(true,20,4,“paging1”,true,“grid”);
Page 1 - 3 ( 20 lines ) , page 4 (3 lines)
When i click page 4, grid shows 3 lines but its width not resize follow.
How can i resolve it ?

Please provide us complete demo where we can reproduce this issue. (You can send such example directly to the customer.support@dhtmlx.com)