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
[Feature request] Dynamic table content - Svelte #232
Comments
I like the overall idea and direction 👍 I have some question just for clarification and so I have full context… In your example 2. I'm interpreting that as some code you've extracted from the node modules package and I'm wondering why it's I'm wondering what is Maybe I'm hung up on the "update" part being so closely a part of CRUD. If we feel a single event is simplest I suppose we could also call it All said, I think you're basically just dispatching an event so the consumer will "known" that Another question. When the consumer receives @Croug you've done the most work in the Table / Pagination of late. Do you have any input, questions or concerns here? |
Yeah, you could call it handleChange function. It is fired after being dispatched from Table. It works just like you said, I am rerendering full table each time, might be not ideal, but good enough for my case. |
Ok thanks for clarifying @apiotrowski312 -- let's cut a PR when you can 👍🏽 |
Hello. Following what we talked at gitter 😄
Use case:
I want to be able to press X mark and remove every line I want. Right now it is not possible, as there is no callback from
renderComponent
.MY solution
handleUpdate
function to headers. This function is basically overwritingtabelArgs
with new value:svelte:component
(I have extracted code from yarn package)renderComponent
I have code that dispatches event:So as you see it is quite easy to do, however it involves adding new field to headers API.
The text was updated successfully, but these errors were encountered: