Kuali Rice Development
  1. Kuali Rice Development
  2. KULRICE-7589

applyDefaultCellWidths property on table layout manager is not working properly


    • Type: Bug Fix Bug Fix
    • Status: Closed Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 2.2
    • Fix Version/s: 2.2.0-rc1, 2.2
    • Component/s: Development
    • Security Level: Public (Public: Anyone can view)
    • Labels:
    • Similar issues:
      KULRICE-8747Table layout manager rowDetailsLinkName property not getting used
      KULRICE-8748Set TableLayoutManager applyDefaultCellWidths to false by default
      KULRICE-6960Change actionFieldPrototype for table layout manager base bean from vertical box layout to horizontal box layout
      KULRICE-5402Uif Framework - Collections: table layout manager support for repeat headers
      KULRICE-6963Table layout manager requires the numberOfColumns to be set instead of using supressLineWrapping
      KULRICE-12030The KRAD Sample App library "Save Row", "Multirow" Table Layout examples do not add correctly
      KULRICE-12607Table Layout in KRAD Library broken
      KULRICE-5176Allow add line to be different layout than existing lines for table layout (needed for KIM conversion)
      KULRICE-7957Introduce layout options nested component class for item layout properties
      KULRICE-13271Item Css demo is not working in Box Layout Manager demo
    • Rice Module:
    • KRAD Feature Area:
    • Application Requirement:
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required


      I'm having trouble getting rid of a default cell width. I have a collection with a subcollection and the datafield within the collection is being given a 50% cell width, while the cell containing the subcollection data is being given a 100% width. I tried setting a property for applyDefaultCellWidths and layoutManager.applyDefaultCellWidths (both to false) but both did not work. My xml is below. Additionally, I used the auto width for the datafield cell, which for my situation worked OK. The cell containing the sub collection still has a 100% width, but its not effecting the layout.

      <bean id="academicYearCollection" parent="Uif-StackedCollectionGroup">
              <property name="collectionObjectClass" value="org.kuali.student.myplan.plan.dataobject.FullPlanItemsDataObject"/>
              <property name="propertyName" value="searchResults"/>
              <property name="renderAddLine" value="false"/>
              <property name="renderLineActions" value="false"/>
              <property name="items">
                      <bean parent="Uif-DataField" p:propertyName="yearRange" p:labelField.render="false"/>
              <property name="subCollections">
                      <ref bean="termsCollection"/>


        Sona Sona (Inactive) added a comment -

        Hi Garret,
        You should be able to get the above working as expected if you set the these two properties :

            <property name="layoutManager.lineGroupPrototype.layoutManager.numberOfColumns" value="1"/>
            <property name="layoutManager.lineGroupPrototype.layoutManager.applyDefaultCellWidths" value="false"/>
        Sona Sona (Inactive) added a comment - Hi Garret, You should be able to get the above working as expected if you set the these two properties : <property name= "layoutManager.lineGroupPrototype.layoutManager.numberOfColumns" value= "1" /> <property name= "layoutManager.lineGroupPrototype.layoutManager.applyDefaultCellWidths" value= " false " />


          • Assignee:
            Sona Sona (Inactive)
            Garett Gowens
          • Votes:
            0 Vote for this issue
            0 Start watching this issue


            • Created:

              Structure Helper Panel