Can I filter in ListBox?

Welcome to Wisej Support.
Questions, suggestions and plain old bugs - are all welcome here!


Hi, I have a ListBox with more that 1000 Items with text and value properties.


I like to filter the text entered in a textbox.. For example.


dim txt = textbox1.text


For each itm in ListBox.items

if not itm.text = txt then


end if



Some idea? thanks.



  • You must to post comments

Items in a ListBox don’t have properties, they are usually just strings. If you use objects as items they are just objects that return a string. That’s the standard behavior of list boxes.

However, the items on the client (in the javascript widget of the listbox) can be hidden. So:

If you filter on the client, and you want to hide item 3, for example:

listBox1.getChildren()[3].exclude(); <– used exclude(), not hide() otherwise the item will be hidden but still used for the layout.

If you filter on the server, you have to remove the item:



  • You must to post comments
Showing 1 result
Your Answer
Post as a guest by filling out the fields below or if you already have an account.
File Name Size
There are currently no files uploaded.
Maximum number of files 5, maximum file size 3.9MB.
Supported file formats: zip pdf gif jpg bmp png cs vb theme json mixin.theme