Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by vborlongan on Aug 01, 2008 12:08
open dhtmlx forum
dHTMLx Dynamic Paging with Move Column

Hello,

I would just like to report an issue wherein the first row of the table does not arrange properly after I move the columns, but the rest of the rows is. I using dHTMLx enterprise suite 1.6 utilizing server-side paging and sorting, JSON parsing and splitAt functions. The code is already properly rendering these functions.

Below is a sample code snippet:

tableGrid.enableColumnMove(true);
tableGrid.init();
tableGrid.splitAt(1);
tableGrid.parse(data, 'json');
tableGrid.setSizes();

Do I just have to re-arrange the method calls?

Thank you for the previous replies on my inquiry.
Answer posted by Support on Aug 04, 2008 01:54

The code, which you are using, is correct and must not cause any problems. 
The same code locally works as expected - sample sent by email 

If problem still occurs for you - please provide any kind of sample where issue can be reconstructed. 

Answer posted by vborlongan on Aug 04, 2008 12:53

Thank you for your prompt reply. Kindly see attached html file. Notice that the data in the first row is not swapping properly upon column switch but the rest of the rows are.

 

Attachments (1)
Answer posted by Support on Aug 05, 2008 01:39
The first line of your dataset has ID == 0 which cause problem ( ID == 0 reserved for inner usage ) , just change it to something different to resolve problem. 
Answer posted by vborlongan on Aug 05, 2008 07:14
I'll try this one shortly. Thanks again. We appreciate your prompt reply.
Answer posted by vborlongan on Aug 05, 2008 07:26

The fix worked! Thanks.

I got another issue though... using the same example, I get a big gap between columns whenever I resize (shrink to the point of hiding) the columns. Kindly accommodate this one.