Attaching grid to layout

I am trying to attach a dhtmlxGrid to a dhtmlxLayout cell with paging etc. The grid attaches to the layout cell, but I can’t seem to get the paging to appear.

How do I get the paging to work in this situation?

The script is:


If paging container (“pagingArea”) is inside “top-pos” container, the paging will work.

Moreover there is a ready solution for “toolbar” paging template that allows to attach grid to layout cell (attachGrid method) and place toolbar into cell status: … _to_status