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

dataTables problem with subCollection in a TableCollectionSection

    Details

    • Type: Bug Fix Bug Fix
    • Status: Open Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: Development
    • Security Level: Public (Public: Anyone can view)
    • Labels:
    • Similar issues:
      KULRICE-8925includeLineSelectionField breaks grid.ftl in TableCollectionSection with a subcollection
      KULRICE-7660 Uif-Link within Uif-TableCollectionSection is not sortable in rice 2.0.1
      KULRICE-6976Scrollbar issues with datatables
      KULRICE-7560Collections that use dataTables break the boundaries of their containers
      KULRICE-8099collections items need to be separated from the subcollection group
      KULRICE-13049AddWithDialog does not work for certain subcollections
      KULRICE-8451Search option with datatables does not work in KRAD
      KULRICE-7775Problems with Uif-StackedCollectionLayout-WithBoxItems
      KULRICE-7925Buttons issue with TableCollectionSection
      KULRICE-7867Improve details to allow subcollections in their content
    • Rice Module:
      KRAD
    • KRAD Feature Area:
      UIF Component
    • Application Requirement:
      KS
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required

      Description

      I have a very simple Uif-TableCollectionSection bean, defined as:

      <bean parent="Uif-TableCollectionSection">
          <property name="propertyName" value="collection"/>
          <property name="collectionObjectClass" value=".."/>
          <property name="layoutManager.renderSequenceField" value="false"/>
          <property name="items">
              <list>
                  <bean parent="Uif-DataField" 
                        p:propertyName="name" p:label="Name"/>
                  <bean parent="Uif-DataField" 
                        p:propertyName="description" p:label="Description"/>
                  <bean parent="Uif-DataField" 
                        p:propertyName="id" p:label="ID"/>
              </list>
          </property>
          <property name="subCollections">
              <list>
                  <bean parent="Uif-TableSubCollection-WithinSubSection">
                      <property name="propertyName" value="list1" />
                      <property name="collectionObjectClass" value=".." />
                      <property name="layoutManager.renderSequenceField" value="false" />
                      <property name="items">
                          <list>
                              <bean parent="Uif-DataField" 
                                    p:propertyName="field1" p:label="FIELD1"/>
                              <bean parent="Uif-DataField" 
                                    p:propertyName="field2" p:label="FIELD2"/>
                              <bean parent="Uif-DataField" 
                                    p:propertyName="field3" p:label="FIELD3"/>
                              <bean parent="Uif-DataField" 
                                    p:propertyName="field4" p:label="FIELD4"/>
                          </list>
                      </property>
                  </bean>
              </list>
          </property>
      </bean>
      

      This displays the collection and subcollection but throws a javascript error:

      TypeError: nCell is undefined
      http://localhost:8081/ks-with-rice-bundled-dev/krad/plugins/rice/datatables/jquery.dataTables.js
      628

      If I add the property layoutManager.richTable.render="false" to the TableCollectionSection, the javascript error goes away. It appears that when I add a subcollection, it breaks the dataTable plugin.

        Activity

        Hide
        Jessica Coltrin (Inactive) added a comment -

        Hey Bob, if this is important to KS to get into the next milestone, please talk to Larry about increasing the priority to Critical and assign back to me. Otherwise, we'll keep it in the backlog.

        Show
        Jessica Coltrin (Inactive) added a comment - Hey Bob, if this is important to KS to get into the next milestone, please talk to Larry about increasing the priority to Critical and assign back to me. Otherwise, we'll keep it in the backlog.
        Hide
        Bob Hurt (Inactive) added a comment -

        It's not a priority. I ran across it building an example, which never made it into the KS Kitchen Sink anyway. I did a search for "Uif-TableSubCollection-WithinSubSection" and it's not used in KS at all.

        Show
        Bob Hurt (Inactive) added a comment - It's not a priority. I ran across it building an example, which never made it into the KS Kitchen Sink anyway. I did a search for "Uif-TableSubCollection-WithinSubSection" and it's not used in KS at all.
        Hide
        Jessica Coltrin (Inactive) added a comment -

        removing m3 fix version since these aren't assigned and will not be done by Monday's m3 release.

        Show
        Jessica Coltrin (Inactive) added a comment - removing m3 fix version since these aren't assigned and will not be done by Monday's m3 release.

          People

          • Assignee:
            Unassigned
            Reporter:
            Bob Hurt (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Structure Helper Panel