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

URGENT : Javascript in HTMLB event .

Is it possible to call a Javascript function on "onCellClick" event of tableview control's cell ?

If yes, can any1 plz give me a sample code ?

Its urgent.

Thanks in advance ,

Arijit B.

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Apr 23, 2007 at 10:16 AM

    check the rules of engagement.

    :O Rules of Engagement --- 2005-02-25

    avoid using URGENT.

    check the following thread

    https://forums.sdn.sap.com/click.jspa?searchID=2227965&messageID=2057396

    <i>Is it possible to call a Javascript function on "onCellClick</i>

    no that would trigger server event

    Raja

    Message was edited by:

    Durairaj Athavan Raja

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Apr 23, 2007 at 10:40 AM

    Hi Arijit,

    You can write Javascript code in <i>RENDER_CELL_START</i> of <i>Iterator</i>

    See below code:

    Below code, i filled my cell with an image and if i click on my image it will trigger Javascript.

           
            concatenate 'javascript:callF4File(' cell1 ',' name '); ' into str.
            col1_image->onClientClick = str.
    
    

    Thanks,

    Sreekanth

    <i>*-- reward each helpful answer</i>

    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.