Is there a doubleclick event in FlexGrid?

Posted by: adminbursatec on 11 September 2019, 10:16 am EST

  • Posted 11 September 2019, 10:16 am EST

    I want to do some other task when user double click on the FlexGrid but I can't find any event related to that.
  • Marked as Answer

    Replied 11 September 2019, 2:56 pm EST


    Since the FlexGrid is contained inside an HTML element, you may simply add an event handler using the addEventListener method on the hostElement of the FlexGrid. Please refer to the code snippet below:
    // grid -> instance of FlexGrid
    grid.hostElement.addEventListener('dblclick', function(e) {
    console.log('Double Click');

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels