Skip to Content
author's profile photo Former Member
Former Member

capture mouse events

Hi all,

i want to capture mouse events like mousedown, mouseup and mousemove by clicking on the tree node of <htmlb:tree>.

Have any one some Idee?

Greeting,

ag

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Mar 21, 2006 at 01:34 PM

    SAP doesn't expose those events through Extension itself. That means that you will either need to use <bsp:findAndReplace> to alter the rendered HTML/JavaScript or attach the event using JavaScript (element.addEventListener).

    In either case you are on your own from a support standpoint. You are alterning the entended "code" of the delivered Extension. You will also want to study the source output of the element to know what to alter or where to attach your event.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 21, 2006 at 01:31 PM

    Hi,

    you can capture this mouse click events using JavaScript and can use it in OnNodeClientClick of your <htmlb:tree>. Refer to this link for related Java Script.

    http://www.quirksmode.org/js/events_mouse.html

    Regards,

    Ravikiran.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.