Project

General

Profile

Actions

Bug #583

closed

Refresh will destory the sorted table

Added by Jing Tao about 22 years ago. Updated about 22 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
morpho - query
Target version:
Start date:
09/06/2002
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
583

Description

Currently, if table is sorted and then do a refresh action. The sorted table
will be destroied and become unsorted. This is not good.

For example, when we do a download action on a sorted table. After it is done,
table will be refreshed. Then table become from sorted status to unsorted
status. So this datapackage probably go to another line. It is difficult to
find it back. So maybe we should keep same sorted status( unsorted or sorted
by some column and order) after refresh.

Actions #1

Updated by Jing Tao about 22 years ago

A new class named SortTableCommand was created. This can make the code
reusable. Then add a method named sortTable in ResultPanel class. This method
uses SortTableCommand to sort the table in ResulPanel.

In RefreshCommand class, first get the status of sort of previous resultPanel,
then sort the new resultPanel in the same way as it did.

Actions #2

Updated by Redmine Admin over 11 years ago

Original Bugzilla ID was 583

Actions

Also available in: Atom PDF