Request #3199
Unable to sort VMs on Used CPU and Used Memory
| Status: | Closed | Start date: | 09/24/2014 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | - | % Done: | 0% | |
| Category: | Sunstone | |||
| Target version: | - | |||
| Pull request: |
Description
Hello,
Using ONE 4.8, I defined a new sunstone view to display more informations like Used CPU and Used Memory.
My problem is that I can not sort the table on theses columns, their class are storting_disabled :
<th aria-label="Used CPU" colspan="1" rowspan="1" role="columnheader" class="sorting_disabled">Used CPU</th> <th aria-label="Used Memory" colspan="1" rowspan="1" role="columnheader" class="sorting_disabled">Used Memory</th>
Is it possible to make them sortable?
Regards.
History
#1
Updated by Daniel Molina almost 7 years ago
- Status changed from Pending to Closed
You have to include the number of the column in the following array:
https://github.com/OpenNebula/one/blob/master/src/sunstone/public/js/plugins/vms-tab.js#L3102