incubator-cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jessica Wang <>
Subject RE: UI List view sortable fields
Date Thu, 14 Jun 2012 17:35:20 GMT

Yeah, I know what kind of sortable fields you are referring to.

We surely can implement it (click on column header to sort).
But the new one has to work with the existing one (click on each individual row to sort, call
updateXXXXXX API).
e.g. when clicking on column header "status" in a table that has 86 rows, updateXXXXXXX API
will be called 86 times (for each row).

So, sorting order will be saved in database no matter it's an individual row being clicked
or a column header being clicked.


From: Olga Smola []
Sent: Thursday, June 14, 2012 3:00 AM
Cc: Brian Federle; Sonny Chhen; Jessica Wang
Subject: Re: UI List view sortable fields


As far as I get it, the sorting you have in mind allows changing the order of individual fields
within a table and updating their order on the server (order_field.png).

I suggest implementing a pattern sorting table records in ascending or descending order. Clicking
on a table header sorts records in direct or reverse (on second click) order. This way it
will be easier to search for required information within tables, allow grouping records by
certain attributes, and improve table readability, especially those containing a large number
of records.

For example, a user chooses to show Network offerings with a certain status. Having sorted
the records by the 'Status' attribute, the user gets the information organized for viewing
with all the records having similar statuses grouped. This makes it easier for the user to
find information they are interested in (sorted_fields1.png). Another example - sorted_fields2.png
- Hypervisor capabilities -  shows a table sorted by the 'Max guest limit' field.
On Wed, Jun 13, 2012 at 8:20 PM, Jessica Wang <<>>

We have sortable field already, but only on the 4 pages (not on all pages):
Compute offerings page
System offerings page
Disk offerings page
Network offerings page

On the 4 pages, there is a column called "Order" in listView which is for sorting field.

However, it only works when API supports it.
i.e. when updateXXXXXXX API takes in sortkey parameter.

Compute offerings page: updateServiceOffering API takes in sortkey parameter.
System offerings page: updateServiceOffering API takes in sortkey parameter.
Disk offerings page: updateDiskOffering API takes in sortkey parameter.
Network offerings page: updateNetworkOffering API takes in sortkey parameter.


-----Original Message-----
From: Olga Smola [<>]
Sent: Wednesday, June 13, 2012 3:33 AM
Subject: UI List view sortable fields


I would like to discuss this topic

Any one have ideas?

Best regards,

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message