Skip to Content
author's profile photo Former Member
Former Member

Unable to set the width of the tableview

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.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Oct 16, 2006 at 02:17 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      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.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.