Re: Weird Behaviour: Drag & Drop w/ Event Delegates
- Hi Frakie..
Could you please give me the idea of working the dragdrop
functionality for a table having multiple rows
It would be great,if you provide me sample code..
Thanks in advance
>library and have been
> Hi there,
> I've been working on using event delegates with the drag and drop
> noticing some weird issues. As a result, the performance of thedrag and drop is just
> atrocious.<td> cells. The first cell is
> I've got a table with apx. 20 rows. Each row contains multiple
> a checkbox.object whenever the
> I've got a mouse handler delegate working to create a DDProxy
> "mousemove" event is fired on a <tr>. I've also got a check inplace so that only a single
> Proxy object is created even though multiple mouse move events arefiring whenever
> moving the mouse on a single row.startDrag,
> What I'm noticing though is when I check/uncheck the checkbox, the
> setDragElPos and enDrag methods are also being called. What'sthrowing me off is that
> I'm not dragging the item at all. I'm simply checking thecheckbox.
>figured that using the delegate
> I'm not sure what could be causing this issue. I would have
> as opposed to assigning n-number of Proxy objects would haveimproved performance.
> I'm noticing the complete opposite, but I don't think it's thedelegate causing the problem.
> I'm just not sure where else to look.appreciate it.
> If anyone has a suggestion or could lend some insight, I'd really