Problem when we clear a listModelList in a listbox

asked 2021-05-20 18:34:44 +0800

softteam gravatar image softteam
120 8


We select an item from the the listbox (filter) and aplicate the command 'filtrar'. Inside the command 'filtrar' we use .clear to clear the list model list and then we add items that contain the selected value. However, if we open the auxheader there is no data inside.

How can we solve this?

delete flag offensive retag edit

2 Answers

Sort by ยป oldest newest most voted

answered 2021-05-21 15:54:03 +0800

MDuchemin gravatar image MDuchemin
1901 1 5
ZK Team

Hey there.

That looks like a bug, I've posted a tracker ticket: ZK-4905

In the meantime, you can workaround that issue by recreating a new ListModelList instead of clearing the current one, and using notifyChange to update the view: https://zkfiddle.org/sample/2dt7q79/25-Another-new-ZK-fiddle

link publish delete flag offensive edit

answered 2021-05-28 16:11:57 +0800

MDuchemin gravatar image MDuchemin
1901 1 5
ZK Team

Hey there,

Good new, that bug is now resolved. You can try it in the 9.6.0.FL.20210527 freshly version, and in 9.6.0 upon release ;)

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

1 follower



Asked: 2021-05-20 18:34:44 +0800

Seen: 12 times

Last updated: May 28

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More