Cannot read property 'addEvent' of undefined

Tags: #<Tag:0x00007f3441311038>

getting this error while adding custom button event
Cannot read property ‘addEvent’ of undefined

loadData();
    Handsontable.Dom.addEvent(selectFirst, 'click', function () {
        hot.selectCell(0, 0);
    });

hi @netamitk

change Dom to dom

We have added the change at v1.11.0
Here is a full release notes list https://docs.handsontable.com/pro/1.11.0/tutorial-release-notes.html