1 Reply Latest reply: Nov 17, 2012 6:01 AM by Alejandro Profet RSS

    does treeTable column support percentage width?

    WeiC
      Hi,

      I encounter a problem that when I set the column width to percentage (set the attribute in the column to "30%" for example), the treeTable will shrink into a very small block...

      It works if I set the width like <column width="150">, but doesn't work for <column width="30%">

      Are there any specification that we can use to set the column width in percentage?

      Thanks a lot.

      -Chen
        • 1. Re: does treeTable column support percentage width?
          Alejandro Profet
          Hi Chen,

          If you want to set column width in percentage, you need to set the property columnStretching="multiple" of the <af:treeTable>:
          When the "multiple" option is used you can set the widths in the columns (non-group) to be percentages.
          See this: http://jdevadf.oracle.com/adf-richclient-demo/docs/tagdoc/af_treeTable.html#Geometry_Management

          AP

          Edited by: Alejandro Profet on Nov 17, 2012 1:01 PM