Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by CHW on Jun 24, 2008 18:01
open dhtmlx forum
dhtmlXGridFromTable

Hi,

Where can alter the code to correct the formatting of the last columns.
When I use:
    mygrid = new dhtmlXGridFromTable('gridbox');
combined with:
    onbeforeinit="mygrid.enableSmartRendering(true);
and colspan?

Regards,

CHW
Answer posted by Support on Jun 25, 2008 02:59
I'm not sure what do you mean by "formatting of last column"
The transformation, which converts HTML data into grid row implemented in dhtmlxgrid_start.js , _process_html_row method
Answer posted by CHW on Jun 25, 2008 15:23

Hi,

Thanks.

About: "I'm not sure what do you mean by "formatting of last column"".

I already sent the subject previously.

Enclosed it follows an example of the problem.

In IE - Error in the last column of the rows of total. (no aligned correctly and bgcolor incorrect)

In FF (3.0) - Error in the totality.

Regards,

CHW

 

Attachments (1)
Test.zip60.64 Kb
Answer posted by Support on Jun 26, 2008 06:28
As it was mentioned earlier - while importing data from HTML table, grid takes values of table cell, but doesn't take the color|align settings of individual rows.
So, in provided sample, all data taken correctly, but color and align are column based, and defined by settings of first row in table ( header row )
Any change of existing behavior will require a seriou code modification.