[ https://issues.apache.org/jira/browse/ACCUMULO-4765?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16299207#comment-16299207 ]
Michael Miller commented on ACCUMULO-4765: ------------------------------------------ If we went with DataTables (ACCUMULO-4771) this ticket would no longer be required. > Improve sortTable js function > ----------------------------- > > Key: ACCUMULO-4765 > URL: https://issues.apache.org/jira/browse/ACCUMULO-4765 > Project: Accumulo > Issue Type: Improvement > Components: monitor > Affects Versions: 2.0.0 > Reporter: Michael Miller > Priority: Minor > Labels: javascript, newbie > Fix For: 2.0.0 > > > The sortTable() javascript function is used quite a lot (and has many > implementations) in the Monitor but takes the column number as a parameter. > While this is a simple solution that works well, it could break if the order > of the columns change. It would be nice to have a sortTable function that is > smarter and could automatically detect which column to sort. -- This message was sent by Atlassian JIRA (v6.4.14#64029)