Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Set align column in dataTable  RSS feed

 
Kasse Gunnar
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm trying to change the align of a single column "dynamicly".


Code sample:
(default value left)

System.out.println("1:" + getColumnEx1().getAttributes().get("align"));
getColumnEx1().getAttributes().put("align", "right");
System.out.println("2:" + getColumnEx1().getAttributes().get("align"));

this returns
1 left
2 right

but the column is still leftadjusted,
should i use ValueBinding ?
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!