cancel
Showing results for 
Search instead for 
Did you mean: 

URGENT : Javascript in HTMLB event .

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (2)

Answers (2)

sreemsft
Contributor
0 Kudos

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>

Former Member
0 Kudos

Hi Sreekanth,

Can u suggest another alternative since i havn't used iterators

Thanks,

Arijeet Bhattacharya

athavanraja
Active Contributor
0 Kudos

check the rules of engagement.

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