-
-
Notifications
You must be signed in to change notification settings - Fork 235
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
Plugins disappear after updating config. #1260
Comments
@afshinm hi can you help me out please? i cant fix my issue :( |
Hi, i'm not an expert of gridjs, but it's maybe because you have to implement your plugin in the new config ?
|
unfortunately.. it will throw a error for duplicate id for plugin. Even if i remove the existing plugins first and add them after it wont get rendered again. I just need fetch server instead of completely rendering the table but unfortunately that also does not exists. |
I found a workaround for everyone who is interested: Reset your div / element and reset the gridjs object. After rebuild it with forceRender. This way it completely rebuilds with new config and plugins. Example:
|
Could you pull this branch #1267 and test please? I believe that branch should solve the issue. |
Hi,
Im trying to update the pagination limit but the custom plugins i added before disappear after updateConfig * forceRender:
it also does not matter what i put in the updateConfig as value. All the plugins will disappear. How can i fix this?
The text was updated successfully, but these errors were encountered: