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

broken functionality between 4.9 and 6.3: cellEditing #4627

Open
KES777 opened this issue Nov 13, 2024 · 0 comments
Open

broken functionality between 4.9 and 6.3: cellEditing #4627

KES777 opened this issue Nov 13, 2024 · 0 comments
Labels
Possible Bug A possible bug that needs investigation

Comments

@KES777
Copy link

KES777 commented Nov 13, 2024

Describe the bug
In 4.9 when I subscribed to cellEditing callback, this callback is called when editor is ready.
In 6.3 this callback is called before editor is created. I see that onRendered event is called for the custom editor https://tabulator.info/docs/6.3/edit#edit-custom and I can do something when editor is ready.
But for builtin editors there is no such call back, eg. I can not do:

  editor: "list", editorParams: { onRendered: function(){ alert( 'YES' ) } }

I understand that the new behavior is better, but there should be a way to subscribe to onRendered event for built in editors.

Tabulator Info

  • 6.3

Working Example

<div id="customized-table"></div>
<script>
new Tabulator( '#customized-table', {
  columns: [
    { editor: "list", editorParams: { onRendered: function(){ alert( 'YES' ) } } }
  ]
}
</script>

To Reproduce

  1. Edit cell

Expected behavior
The event when builtin editor is ready should be called.

Actual behavior
I can not subscribe to callback when builtit editor is rendered.

Screenshots

Desktop (please complete the following information):

  • OS: LInux Mint 21.3 Cinnamon
  • Browser FF
  • Version 130
@KES777 KES777 added the Possible Bug A possible bug that needs investigation label Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Possible Bug A possible bug that needs investigation
Projects
None yet
Development

No branches or pull requests

1 participant