add new row with a dropdown that will be prefilled data

add new row with a dropdown that will be prefilled data

canwejustcodecanwejustcode 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

  • canwejustcodecanwejustcode Posts: 36Questions: 10Answers: 0

    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.

  • allanallan Posts: 63,484Questions: 1Answers: 10,467 Site admin

    Thanks for posting back - good to hear you have a solution.

    Allan

Sign In or Register to comment.