Sortable table

Hi all,

Does anyone have in store a protocol that creates the classic sortable table in a report?

This is how it goes: it generates a table and by clicking on a hyperlink in the column header you are sorting the table following the column content. You can have two hyperlinks for ascending and descending sorting or clicking twice on a unique hyperlink to change the sorting order.

This is very usual HTML stuff and I was wondering if something similar was available/already written in the HTML reports.

Cheers

Guilhem
Answers 4
AA
AA 2009-05-07
Hi,

I may be missing something here but doesn't the Sortable Table component (under Reporting and Visualization > Web Application Development > HTML Elements in v 7.5) do that for you?

Malcolm
HP
HP 2009-05-07
Hello Guilhem,

There is a component named "Sortable Table" in the Reporting Collection that does exactly this. It adds the necessary html and javascript to the standard reporting collection "Table" element.

If you have the Reporting Collection, this should be available to you already.

Best wishes,
Lynn Miller
Accelrys Support
GM
GM 2009-05-07
Well, another good reason to upgrade to v. 7.5. It should be done by the end of the month.
Thank you
Guilhem
AA
AA 2009-05-08
Guilhem,

While I would recommend upgrading to 7.5 as soon as you can, you don't need to wait for that to get sortable tables.

The component that Lynn and I were referring to is available in earlier versions. My reference to 7.5 was just to where you could find it in that version. We have introduced a more logical, functional arrangement of components.

In 7.0 the component can be found under Reporting > Advanced HTML elements.

Malcolm