Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by block on Jul 28, 2009 23:09
open dhtmlx forum
Layout with attached grid and paging.

Hi Gang.

I have the pro components.

I have an application similar in concept to the demo layout video.
I am using

dhxLayout = new dhtmlXLayoutObject(document.body, "3L");

and

dhxGrid = dhxLayout.cells("b").attachGrid();

To get a lovely auto sizing grid.

Now, the problem is that I want to use paging with it, and when I look at the application examples they all show paging in a separate div.

If I use a div, and attach the grid to the div you run into all sorts of sizing issues, ie, its looks crap.

So my question is, can I use the attach objects methods to use a grid with a paging interface?

Also I am continually re-loading the grid, and when I use the attachfooter method for trying to display the number of rows visible in the grid, it kept disappearing after every reload.

Do you have some application samples of it working?

Also, if I do that will I still retain my grouping functionality?

dhxGrid.groupBy(iColumn);

Thanks in advance
Answer posted by Alex (support) on Jul 29, 2009 01:26

Hello,

you can use statusbar of the layout cell. Please, see details here  http://dhtmlx.com/docs/products/kb/index.php?s=normal&q=8623&a=13590