3.2.0

column alignment issue

in previous posts i have seen people say this is the anwser

table.getColumnTemplate(i).setStyle("text-align", "right");

It looks like what i want but every time i try it or a variation of it i get "that the object does not support this property or method". Am i just doing something stupid or is there a better solution(besides <style>)?

*using version 2.5.1
Ryan G.
May 15,
Ryan,
Column Template does not exist since.... ( long time) .. version 1.X.X
Use Cell Template instead for any 2.x.x version.
i.e.
obj.getCellTemplate(0).setStyle("text-align", "right");
HTH
Carlos
May 15,

This topic is archived.

See also:


Back to support forum