I have a list of checkboxes just like the one posted on alex h's blog.

I am trying to modify it so I get an event when a checkbox is clicked
so I can POST to the server. The trouble is asking for the right
event, because none seem to work right.

Though the CLICK and CHANGE events on the LIST do result in changes to
the state of the checkbox renderers, they are fired BEFORE the
checkbox is updated.

I added a bubbling CHANGE event to the checkbox renderer when its
state is changed, but it gets fired when the list is rendering itself. 

I tried to fix this by adding an "isActive" field to the checkbox list
itself that gets set to false when its state is being changed and back
to true when its UPDATECOMPLETE event is fired. But that only works
when I am responding to changes in its dataProvider. Not when
scrolling happens, as I just found.

Any ideas?

Reply via email to