Project

General

Profile

Bug #583

Refresh will destory the sorted table

Added by Jing Tao over 17 years ago. Updated over 17 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.

History

#1 Updated by Jing Tao over 17 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.

#2 Updated by Redmine Admin about 7 years ago

Original Bugzilla ID was 583

Also available in: Atom PDF