3.2.0

Padding Information Problem


When you do a structure or other output that should be indented, we
generate lines of the following type:



obj.setCellText('<span style="padding-left:20">JEFF-0001</span>',2,4);



or



obj.setCellText('<span style="padding-left:20">2</span>',2,3);



With our old ActiveWidgets runtime and common directories, the lines are
padded left 20 pixels properly. With the new 2.5.1 ActiveWidgets
runtime and common directories the second example pads just fine, while
the first example does not pad at all. I don't know what the problem
is. It looks like if there is Alpha data in the string to be padded
it's not padding. If the data is all numeric then it pads just fine.
Mike Statham
December 14,
I cannot reproduce this. When I add those two lines both are padded just fine, so I guess there is something else which triggers this, possibly some incorrect markup in the cells before 2,4?
Alex (ActiveWidgets)
December 17,
Check what is actually written to the page with

window.setTimeout(function(){
alert(obj.getRowTemplate(4));
}, 2000);
Alex (ActiveWidgets)
December 17,

This topic is archived.

See also:


Back to support forum