Open GoogleCodeExporter opened 9 years ago
here the patched file
Original comment by batharak...@gmail.com
on 14 Apr 2011 at 10:58
Attachments:
I did the headerAlign patch using much less modifications (and add a titleAlign
also)
Header Alignment: (about line 698 - you can use a global value on parameter, or
set columns one by one, default = center)
if (cm.align) {
th.align = cm.align;
}
th.halign = cm.headerAlign? cm.headerAlign: p.headerAlign? p.headerAlign:
'center'; // PATCH SG#1
if (cm.width) {
$(th).attr('width', cm.width);
}
and (about line 815):
$(thdiv).css({
textAlign: this.halign, // this.align, // PATCH SG#1
width: this.width + 'px'
});
thdiv.innerHTML = this.innerHTML;
Title Alignment (about line 1061):
g.mDiv.className = 'mDiv';
g.mDiv.innerHTML = '<div class="ftitle">' + p.title + '</div>';
g.mDiv.style.textAlign = p.titleAlign? p.titleAlign: 'left'; // PATCH SG#2
$(g.gDiv).prepend(g.mDiv);
Original comment by harrypit...@gmail.com
on 11 Jul 2012 at 3:18
Original issue reported on code.google.com by
batharak...@gmail.com
on 14 Apr 2011 at 10:43