-
Notifications
You must be signed in to change notification settings - Fork 83
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
Adding a custom react component as a cell to each rows. #40
Comments
Hey @VikramMaiya Have a look at the documentation for Formatting Button Columns for more info on how to achieve this. Cheers Oli :) |
I have the same problem. if you return a react component in the formatter (in function) it's not working. It works on regular HTML, but react components not. Doesn't matter even if you do something like:
|
Could be related: #25 |
I checked the source code for
to render the JSX component as string for the |
Right, use |
I have a use case though where I want to render react component that renders a button. clicking on that button will open a modal that loads data. With Are there any other ways to make the component work like how it is in React? |
I have achieved my goal through Event Delegation.
I hope this helps you with your use case @VikramMaiya |
Has anyone came up with a good solution for this? I am new to node and React, and am having a hard time with what I figured should be something simple. I would like to display a table using react-tabulator with ID as the first column. I would like to use the reactjs-popup module on the ID element to open a modal |
@CodeHutDevelopment have you tried my solution above, that is exactly what you need. |
@VikramMaiya @geocine @Keyframe @CodeHutDevelopment @olifolkerd Usage:
Codesandbox example |
@ngduc That was EXACTLY what I was looking for !!!!!!! |
HI Guys, not sure if anyone can help here. |
Hi team,
I want to use your react-tabulator for showing the list of alerts. Each alert will be a row. A row will have multiple cells with alert details. I wanted to add a button as one of the cell in each row. On button click the alert is acknowledged.
Something similar to below screen shot : The below table contains a single row/ alert with a button to acknowledge it.
The text was updated successfully, but these errors were encountered: