Using a select within a cell #2037
Unanswered
RWaltersMA
asked this question in
General
Replies: 3 comments 7 replies
|
I think I solved it, not sure if this is the proper way to do this but I found setting the defaultValue will get the expected behavior |
0 replies
|
@RWaltersMA Hi, I'm also learning how to add a "select" dropdown in the cell, I met an issue that the dropdown in first page of table was shown correctly, while when I switched to 2nd, 3rd and other pages, the dropdown column showed always the same, do you have any idea why this happen? |
1 reply
|
ha, just posted here that I fixed my problem: |
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I have a cell that needs to have a select dropdown. I am using the react-select library and have defined by columns as follows:
I am looking for some guidance as to how to preselect an item in the drop down for each row in the table when the data gets loaded into the table. My data contains a value that matches the value in the options list.
Do I have to mess around with the tbody section and add something that checks to see if its the cell that contains the select component?
All reactions