Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
675
ClientEvents
posted

Hello,

I need a client site event for a double click in a WebDataGrid row.

I've found that I can register events in the ClientEvent Tag. But I don't know what parameters are given to the JavaScript function, or how I get some cell values of the clicked row.

Is there some documentation about this? I've seraching for hours in the documentation, but have nothing found.

I'm working with the version 10.3.

Bodo

Parents
No Data
Reply
  • 12004
    Verified Answer
    posted

    Hello bodojaeger,

    For handling the client side event for DoubleClick, the function contains two parameters: sender, eventArgs. To get the record that was double clicked on you can use "eventArgs.get_item().get_row()" to return the row object. Within the row object also has methods for returning the cell objects. I have attached a sample to the thread for running this using NetAdvantage 10.3.20103.2134.

    Let me know if you have any questions with this matter. Thank you.

    WebDataGrid_CS.zip
Children
No Data