cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to set the width of the tableview

Former Member
0 Kudos

I have set width = "500" of my tableview in my BSP page.

But it does not work if the lenght of the tablefields are longer.

I set fixedcolumn,Width,Wrapping attributes in my tableColumns.Still same problem..

Rgds,

JBP.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

yes. sometimes this attribute doesnt work for desingn2002 or design2003(i dont remember which one).

use the input field to fix the width.

(1) use this in the table field

<htmlb:inputField id = "eee"

value = "<%=otr(YP_HRPA/OTR_ALIAS)%>"

disabled = "FALSE"

alignment = "RIGHT"

size = "12"

maxlength = "25"

required = "TRUE"

type = "STRING" />

(2)

try using percenytages

<htmlb:form>

<htmlb:tableView id = "DOCUMENTS_R_OPEN"

visibleRowCount = "12"

width = "100%"

headerVisible = "FALSE"

headerText = "text"

table = "<%= APPLICATION->T_DOCUMENTS_R_OPEN %>" >

<htmlb:tableViewColumns>

<htmlb:tableViewColumn columnName = "APPRAISER_NAME"

title = "<%= otr(YP_HRPA/APPRAISER_NAME) %>"

wrapping = "true"

edit = "TRUE"

width = "300">

</htmlb:tableViewColumn>

<htmlb:tableViewColumn title = "<%= otr(YP_HRPA/APPRAISAL_DOC_NAME) %>"

columnName = "APPRAISAL_NAME"

width = "300"

wrapping = "FALSE"

onCellClick = "CellClickDocument"

type = "LINK"

onItemClick = "CellClickDocument" >

</htmlb:tableViewColumn>

</htmlb:tableViewColumns>

</htmlb:tableView>

</htmlb:form>

Message was edited by: manasa

Former Member
0 Kudos

manasa,

If i use

<htmlb:inputField id = "eee"> the size & maxlength is working..but my string contains more than 1000 chars,and the rest of the string is not visible.

I want to see all the data in the field..i tried with <b> textView </b>...but not able to fix the prob.

And i tried by setting percentage too

width = "100%"..but still the problem persists.

Rgds,

JBP.