gridjs icon indicating copy to clipboard operation
gridjs copied to clipboard

Global events not triggering in UMD version

Open morelandjo opened this issue 2 years ago • 2 comments

Describe the bug Global events such as ready and load do not appear to be firing.

To Reproduce Steps to reproduce the behavior: Add a ready function with a console log output, reload the page, no result in log

const thegrid = new gridjs.Grid({ columns: [name: 'Test1,'Test2','Test3','Test4'], fixedHeader: true, height: '85vh', style: { th: { 'font-size': '14px', 'white-space': 'break-spaces' }, td: { 'font-size': '14px' } }, data: [1,2,3,4]}).render(document.getElementById('wrapper'));

thegrid.on('ready', () => console.log('test'));

Expected behavior I would expect these events, such as load and ready to fire at the appropriate time

Desktop (please complete the following information): Windows and Mac Chrome, Firefox, Safari

morelandjo avatar Aug 28 '23 14:08 morelandjo

Appears to be related to #1349?

zpottie avatar Sep 29 '23 02:09 zpottie

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Dec 15 '23 07:12 stale[bot]