selectionChanged event

Posted by: a.luis on 8 September 2022, 1:58 am EST

    • Post Options:
    • Link

    Posted 8 September 2022, 1:58 am EST

    I have the grid element obtained from it Id.

    How can I call the event selectionChanged on the grid element?

    Kind regards,

    Andi

  • Posted 8 September 2022, 2:13 pm EST

    Hi Andi,

    You may use the getControl() method of Wijmo’s Control class to get the control hosted in a given DOM element. The Control class handles the association between DOM elements and the actual control. Please refer to the code snippet below for reference:

    
    var flexgrid = wijmo.Control.getControl(gridID) // you may pass the grid element's Id in place of gridID
    //call FlexGrid's method here
    
    

    API link: https://www.grapecity.com/wijmo/api/classes/wijmo.control.html#getcontrol

    Please let me know if you face any issues.

    Regards

Need extra support?

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

Learn More

Forum Channels