on 12-14-2010 3:18 PM
HI,
I have created a textView dynamically and put it into FixedBottomCell of a column of a table.
Here is the code:
//create a fixed bottom cell for column
IWDTableStandardCell fixedBottomCell = (IWDTableStandardCell) view.createElement(IWDTableStandardCell.class);
column.addFixedBottomCell(fixedBottomCell);
//create a text view element for the bottom cell
IWDTextView textView = (IWDTextView) view.createElement(IWDTextView.class, column.getId() + "BottomCell");
fixedBottomCell.setHAlign(WDTableColumnHAlign.FORCED_RIGHT);
textView.setHAlign(WDInputFieldAlignment.FORCED_RIGHT);
//add the editor to the sum columns
fixedBottomCell.setEditor(textView);
The problem is, the the text in the column is displayed left, not right.
Any ideas?
Best regards,
Peter
have you tried to set at column level?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.