Using a select within a cell #2037
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
|
Beta Was this translation helpful? Give feedback.
-
@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? |
Beta Was this translation helpful? Give feedback.
-
ha, just posted here that I fixed my problem: |
Beta Was this translation helpful? Give feedback.
-
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?
Beta Was this translation helpful? Give feedback.
All reactions