Skip to Content
0
Former Member
Sep 08, 2004 at 12:16 PM

onClientClick event in Tableview

35 Views

Hi!

I am trying to do a simple operation. On clicking a column in a tableview a javascript should be invoked that pops up a new window.

In the tableview the columns are passed via the parameter columnDefinitions as recommended.

There are onClick and onClientClick events available but onClientClick can only be set to true, onClick is for server operations.

Can someone explain how this can be done.

Tried the same thing using the iterator with

p_replacement_bee = cl_htmlb_link=>factory(

id = p_cell_id

  • ID_POSTFIX =

ONCLIENTCLICK= 'open_windo'(unit)'

REFERENCE = '#'

TEXT = l_no

  • TEXTDIRECTION =

  • TOOLTIP =

  • _TEXT =

)

.

Still no luck. Is there a simple to invoke a javascript on client side?

Thanks!