We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am trying to add a button in each row inside a grid, but I could not get onclick working. Any help would be appreciated
function Messages({ newMessage }) { function edit(e){ alert("testing with no luck"); } ... return html` <vaadin-grid id="grid" theme="row-stripes"> <vaadin-grid-column header="Edit"> <template> <vaadin-button theme="primary" @click="${e=>edit(e)}" >testing</vaadin-button> </template> </vaadin-grid-column> </vaadin-grid> ` }
I also tried declaring function outside function messages and several tries
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I am trying to add a button in each row inside a grid, but I could not get onclick working. Any help would be appreciated
I also tried declaring function outside function messages and several tries
The text was updated successfully, but these errors were encountered: