add new row with a dropdown that will be prefilled data
add new row with a dropdown that will be prefilled data
canwejustcode
Posts: 36Questions: 10Answers: 0
Ok, I have a datatable that I'm able to add a new row to based off of what link the user clicks. The datatable has a label, textbox, checkbox, and a select box. The select box needs to be populated with values based off of what the user selected, now, I don't want to repaint the table due to the user can have made selections or changes in the table already. Is there a way to add data to the select box when a new row is added? I am using something like this to add a new row.
Answers
I resolved this by creating a new function and making a call to the DB for the fields I needed to populate the dropdown for the item selected.
Thanks for posting back - good to hear you have a solution.
Allan