Uploaded image for project: 'Kuali Rice Development'
  1. Kuali Rice Development
  2. KULRICE-8471

richTable "aoColumnDefs" property problem in M4

    Details

    • Type: Bug Fix
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.2.0-m4
    • Fix Version/s: 2.2.0-rc1, 2.2
    • Component/s: Development
    • Security Level: Public (Public: Anyone can view)
    • Labels:
      None
    • Rice Module:
      KRAD
    • KRAD Feature Area:
      UIF Component
    • Application Requirement:
      KS
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required

      Description

      in 2.2.0-M3 the following configuration sorted the collection on the second column (the "aaSorting" property) and made the third column non-sortable ("aoColumnDefs" property). in M4 the up/down arrow indicator for which column was used for sorting indicates that the second column was used (good), but actually no sort was done (bad). also, clicking on the second columns header changes the sort indicator from an up-arrow to a down-arrow, but the sorting remains the same. oddly enough tho sorting still works on the first and last column. if i change the non-sortable column to the 4th and final column, the first column can still be sorted but not the 2nd and 3rd.

      <bean parent="KS-KitchenSink-Collection-Base">
         <!-- 
            KS-KitchenSink-Collection-Base parent="Uif-TableCollectionSection" 
         -->
         <property name="layoutManager.richTable">
            <bean parent="Uif-PagedRichTable">
               <property name="templateOptions">
                  <map merge="true">
                     <entry key="aaSorting" value="[[1,'asc']]"/>
                     <entry key="aoColumnDefs"
                            value="[ {'aTargets':[2], 'bSortable':false}
                                 ]"/>
                  </map>
               </property>
            </bean>
         </property>
      </bean>
      

        Attachments

          Activity

          bobhurt Bob Hurt (Inactive) created issue -
          jkneal Jerry Neal (Inactive) made changes -
          Field Original Value New Value
          Fix Version/s 2.2.0-rc1 [ 16716 ]
          Fix Version/s 2.2 [ 16411 ]
          Priority Major [ 3 ] Critical [ 2 ]
          Assignee Brian Smith [ bsmith ]
          bsmith Brian Smith (Inactive) made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          jcoltrin Jessica Coltrin (Inactive) made changes -
          Fix Version/s 2.2.0-m5 [ 16732 ]
          Fix Version/s 2.2 [ 16411 ]
          Fix Version/s 2.2.0-rc1 [ 16716 ]
          jcoltrin Jessica Coltrin (Inactive) made changes -
          Fix Version/s 2.2 [ 16411 ]
          jcoltrin Jessica Coltrin (Inactive) made changes -
          Fix Version/s 2.2.0-rc1 [ 16716 ]
          Fix Version/s 2.2.0-m5 [ 16732 ]
          jcoltrin Jessica Coltrin (Inactive) made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          spatterson Shem Patterson (Inactive) made changes -
          Workflow custom [ 156244 ] Copy of custom for rice [ 215162 ]
          spatterson Shem Patterson (Inactive) made changes -
          Workflow Copy of custom for rice [ 215162 ] custom [ 224910 ]
          spatterson Shem Patterson (Inactive) made changes -
          Workflow custom [ 224910 ] Rice Workflow [ 234658 ]

            People

            • Assignee:
              bsmith Brian Smith (Inactive)
              Reporter:
              bobhurt Bob Hurt (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: