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

          No work has yet been logged on this issue.

            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: