on 06-13-2006 5:24 AM
Hi All,
I have placed checkbox with in table view using iterator.But the check box is getting right or left aligned acooring to the type of the filed .I want it ot be placed at the center of the cell always.How can i do it?
Thanks
Sujith
Hi sujit ,
did u use the tble view like this..
<htmlb:tableView id="table"
selectedRowKeyTable = "<%= selectedrowindextable %>"
onRowSelection = "MyEventRowSelection"
selectionMode = "MULTISELECT"
table="<%=i_tab%>"
>
Cud u send ur code ?
Rgds,
Jothi.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is the code which i am using.I am using checkbox for the column flag1 using iterator this check box getting aligned left as it char type.
<htmlb:tableView id = "tv1"
visibleRowCount = "10"
selectionMode = "lineEdit"
table = "<%= it_tableview %>"
iterator = "<%= iterator %>">
<htmlb:tableViewColumns>
<htmlb:tableViewColumn columnName = "name"
wrapping = "false"
width = "110"
title = "Name"
edit = "true"
type = "text" >
</htmlb:tableViewColumn>
<htmlb:tableViewColumn columnName = "flag1"
wrapping = "false"
width = "70"
title = "check1"
edit = "true"
type = "text" >
</htmlb:tableViewColumn>
<htmlb:tableViewColumn columnName = "flag2"
wrapping = "false"
width = "110"
title = "check2"
edit = "true"
type = "text" >
</htmlb:tableViewColumn>
<htmlb:tableViewColumn columnName = "value"
wrapping = "false"
width = "110"
title = "valuecell"
edit = "true"
type = "text" >
</htmlb:tableViewColumn>
</htmlb:tableViewColumns>
for the checkbox column in the iterators IF_HTMLB_TABLEVIEW_ITERATOR~GET_COLUMN_DEFINITIONS method
set HORIZONTALALIGNMENT = 'center' .
Regards
Raja
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
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.