Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Gregor Haberhauer on Jun 16, 2008 06:19
open dhtmlx forum
I have problems when aligning rows wtih spanning headers

Dear all,

I have table splitted my table headers as follows:

my $header = "Sequence 1, Sequence 2,gap,#cspan,#cspan,#cspan,#cspan,bestfit,#cspan,#cspan,#cspan,#cspan";
my $row_head = "#rspan,#rspan,% Simil.,% Ident,Quality,Ratio,Al. Length,% Simil.,% Ident,Quality,Ratio,Al. Length";

print "mygrid.setHeader(\"$header\");\n";
print "mygrid.attachHeader(\"$row_head\");\n";

Then I try to setup the alignment of the different columns with :
my $col_align = "left,left,right,rigth,rigth,rigth,rigth,rigth";
print "mygrid.setColAlign(\"$col_align\");\n";

Unfortunately only the first column of the two splited blocks are aligned corectly? What the problem??

Kind Regards,

Gregor
Answer posted by Support on Jun 17, 2008 03:36
You have a typo in your command, the correct one must be
my $col_align = "left,left,right,right,right,right,right,right";
Attachments (1)