Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Global events not triggering in UMD version #1378

Closed
morelandjo opened this issue Aug 28, 2023 · 2 comments
Closed

Global events not triggering in UMD version #1378

morelandjo opened this issue Aug 28, 2023 · 2 comments
Labels
wontfix This will not be worked on

Comments

@morelandjo
Copy link

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

@zpottie
Copy link

zpottie commented Sep 29, 2023

Appears to be related to #1349?

Copy link

stale bot commented Dec 15, 2023

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 stale bot added the wontfix This will not be worked on label Dec 15, 2023
@stale stale bot closed this as completed Mar 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants