mousedown:relay(tr) should totally work. Also, if you want this change made in the library itself, you should open a lighthouse ticket.
On Thu, Dec 16, 2010 at 10:54 AM, Sergey <[email protected]> wrote: > I'm attempting to use HtmlTable's Select functionality, but I'm > encountering a small problem: the selection event happens on a click > event, whereas I need it to happen on mousedown. I'm pretty sure this > bit of code is responsible for it, > > this.body[method]({ > 'click:relay(tr)': this._bound.clickRow, > 'contextmenu:relay(tr)': this._bound.clickRow > }); > > but I can't figure out how to change it, since mousedown:relay(tr) > doesn't work , and I can't find any documentation to point me in the > right direction. Any help with it would be much appreciated, > especially if it can be done in a way that includes the change in my > own JS files so I don't have to re-implement the change with every > MooTools update. >
