Opened 6 years ago

Closed 6 years ago

#32 closed enhancement (invalid)

ListView.Hide

Reported by: Richard Lake Owned by:
Priority: normal Milestone:
Component: Listview.mui Version: 4.0-2014R3
Severity: minor Keywords:
Cc: andreas@… OS Platform: All
Blocked By: Blocking:
Release Notes:

Description

Problem

When you have a multi-column listview containing thousands of rows of data it can be useful to supply the user with a means to search through the list and showing the matches only.

Analysis

Clearing the listview contents and re-populating a lisview with matches is already possible. However if the user chooses to type in a common word with thousands of matches or (more commonly) empties the field entirely to show all results it can take visually an exceptionally long time to populate the table.

Enhancement recommendation

In order to increase overall performance in instances of this situation I recommend that the ability to toggle a Show/Hide state of available rows is implemented.

Change History (6)

comment:1 Changed 6 years ago by Thore Böckelmann

If I understand your request correctly then you want to insert new entries without having them become visible immediately. Correct?

That is already possible by switching the list to quiet mode:

set(list, MUIA_List_Quiet, TRUE);
DoMethod(list, MUIM_List_InsertSingle, "new entry", MUIV_List_Insert_Bottom);
set(list, MUIA_List_Quiet, FALSE);

Leaving the quiet mode will cause a refresh. An additional advantage of this approach is that adding many new items will become lots faster because the list will be refreshed only once instead after each single insertion.

comment:2 in reply to:  1 Changed 6 years ago by Richard Lake

Replying to tboeckel:

If I understand your request correctly then you want to insert new entries without having them become visible immediately. Correct?

No, however…

Leaving the quiet mode will cause a refresh. An additional advantage of this approach is that adding many new items will become lots faster because the list will be refreshed only once instead after each single insertion.

this does sound like a credible solution. I am using the MUI Royale plug-in for Hollywood, at present List_Quiet is not implemented… I will pass your recommendation on to Andreas Falkenheim.

comment:3 Changed 6 years ago by Thore Böckelmann

Cc: andreas@… added

comment:4 Changed 6 years ago by Thore Böckelmann

Andreas, can you tell anything about this issue?

comment:5 Changed 6 years ago by Richard Lake

What I can tell you is that Andreas went with your List_Quiet recommendation - the method will be publically available MUI Royale release. Unless you believe this would be a useful suggestion I would mark this as solved.

comment:6 Changed 6 years ago by Thore Böckelmann

Priority: undecidednormal
Resolution: invalid
Status: newclosed

Ok, closing this one. There is nothing wrong in MUI and nothing to do for me.

Note: See TracTickets for help on using tickets.