0

Listbox Listener:onCheckSelectAll and onSelect - Problem with double event

asked 2017-04-11 08:20:29 +0800

MarkusB gravatar image MarkusB
1

updated 2017-04-11 08:20:50 +0800

Hi,

I use 2 Listener on a Listbox. The onSelect Listener tells me when a row was selected. And the onCheckSelectAll is fired when the checkAll (multiple=true) checkbox is triggert.

The Problem is now, if you trigger the checkAll combonent, then first the onSelect Event is still triggert, and after this the onCheck event from the onCheckSelectAll. This produce for the first row a double select/unselect in my case.

So how I can fix this?

Regards.

MB

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-04-16 08:00:26 +0800

Darksu gravatar image Darksu
1991 1 4

Hello MarkusB,

Are there any specific business rules implemented into each of the listeners?

I want to check out if there are alternative design options.

Best,

Darksu

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

Follow
1 follower

RSS

Stats

Asked: 2017-04-11 08:20:29 +0800

Seen: 33 times

Last updated: Oct 20 '17

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