So for my application I have to use mandatory pagination.
How can I make the page load dynamically according to the page I ask?
Now when paging is enabled, with a large query (over 1000
entries), grid takes a long time to generate XML and shows the grid in
one second (in this order). I think I have an error or
missconfiguration.
Can you help me???, please!!! My boss is trying to kill me if I dont solve this.
.
Thank you for your prompt replies.
Actually, dynamic loading and paging allows to decrease loading and rendering time.
>> grid takes a long time to generate XML
It is possible that there are problems with your server-side code.
Please, see the following sample in your documentation dhtmlxGrid/samples/loading_big_datasets/pro_paging_dynload.html or on our site:
dhtmlx.com/docs/products/ddh … guide.html
Thanks, you are in reason!
The problem was in generator XML file on the fly, and this is solved. So, I have another problem. I want to add a combo with values 10,20,30,100,500 for example, to offer to user the possibility to select (directly) which amount of record are shown in the grid. How can I do this?
Thank you again.
I want to add a combo with values 10,20,30,100,500 for example, to
offer to user the possibility to select (directly) which amount of
record are shown in the grid. How can I do this?
If you init grid from js code , just set some column type as “coro” and add options by js code
grid.setColTypes(“ro,ro,ed,coro”)
var c=grid.getCombo(3); // 3 - index of column
c.put(“10”,“10”);
c.put(“20”,“20”);
c.put(“30”,“30”);
c.put(“100”,“100”);
c.put(“500”,“500”);