pwtucker
asked on
Create a Datagrid that allows you to add rows as needed
Hi Experts,
I am creating a web app that will allow a user to enter in data that could be multiple records. The question I have is...What is the best way to accomplish this? I would like to have one row that has the fields (all will be dropdown list) they need to enter and then maybe a couple of buttons that would allow them to either submit this data or add another record (prior to submitting..only transmit the data once). I was thinking about just using the datagrid, but I have not had much luck creating dropdown list in a datagrid and am not sure how to add a new record if needed.
Can you all assist with creating a dd list in a datagrid and how I could add a new row/record?
Hope this makes sense and look forward to your expert advice.
Thanks,
Paul
I am creating a web app that will allow a user to enter in data that could be multiple records. The question I have is...What is the best way to accomplish this? I would like to have one row that has the fields (all will be dropdown list) they need to enter and then maybe a couple of buttons that would allow them to either submit this data or add another record (prior to submitting..only transmit the data once). I was thinking about just using the datagrid, but I have not had much luck creating dropdown list in a datagrid and am not sure how to add a new record if needed.
Can you all assist with creating a dd list in a datagrid and how I could add a new row/record?
Hope this makes sense and look forward to your expert advice.
Thanks,
Paul
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
It will make several trips back to the server indeed. If you want to avoid that, you can build this up using Javascript, and have a final submit button, but that's likely to be quite a substantial amount of code compared to this solution. Ajax is always a possibility as well, but still adds some overhead to the server.
ASKER
Thanks for the help....I am going to give this a shot and will let you know how it works in the next day or so....
Good luck!
ASKER