[v8i MDL/DLL] Filtering listbox

Hi,

Is there an automatic way to filter a listbox like Models below? I also need to use filter icon below.

Kind regards,

Sedat Alis
AEC Technology Inc.

Parents Reply
  • I prefer MDL listbox

    MDL ListBox

    There are many MDL functions available to program a ListBox...

    mdlDialog_listBoxColumnSetIcon()
    ...
    mdlDialog_listBoxSetFilter()
    ...
    mdlDialog_listBoxSetSortColumn()
    ...
    

    A ListBox can have a header row, with a caption for each column.  What an MDL ListBox does not have is the icon command bar at the top, so you'll have to roll your own using other MDL widgets.

    Download this DataSheet example to see ways to handle a ListBox and its underlying ListModel.

    MDL ListModel

    The best way to add data to a ListBox is to create a ListModel.  An MDL ListModel is a sophisticated data structure, with many functions available to populate, filter and sort those data.  It may be easiest to use the ListModel to filter and sort your data, then redraw the ListBox that displays the ListModel.

     
    Regards, Jon Summers
    LA Solutions

Children
No Data