I need to add an auto row at the end of the data table once the user hits enter at the last cell of the current data table. I am new to MVC and do not have much idea of how we can do it using MVC platform.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can do it through javascript or jquery , i.e.
when ever you create a new row attach this function on click event of last cell ,for demo you can visit following link
http://viralpatel.net/blogs/2009/03/dynamically-add-remove-rows-in-html-table-using-javascript.html