[Data Grid] [Data Grid] Unable to remove event handlers from the grid

Forge Component
(36)
Published on 17 Mar (3 weeks ago) by OutSystems R&D
36 votes
Published on 17 Mar (3 weeks ago) by OutSystems R&D

I understand that the Data Grid component adds JavaScript code to customize Wijmo FlexGrid. Are we able to remove the added event handlers (e.g. copying, selectionChanging, beginningEdit)? I have tried to add code to removeAllHandlers but the Data Grid component's JavaScript codes are always eventually executed. I did try to put my JavaScript code within the block as well as outside the block containing the grid, but the results are the same.

Constantly Coding wrote:

I understand that the Data Grid component adds JavaScript code to customize Wijmo FlexGrid. Are we able to remove the added event handlers (e.g. copying, selectionChanging, beginningEdit)? I have tried to add code to removeAllHandlers but the Data Grid component's JavaScript codes are always eventually executed. I did try to put my JavaScript code within the block as well as outside the block containing the grid, but the results are the same.

What exactly is your purpose? 

After adding JavaScript, did you call it in AdvancedFormat of Grid?

For example: "onLoad: removeAllHandlers"