Reputation: 77
I am working on a MVC application. My requirement is as below.
Description: The user should be able to view the details of a row by double clicking the row. Double clicking the row should display the details in read-only mode.
Then the other problem is how can i be able to select a row and delete it by button click.
Please let me know how I can achieve this functionality.
Upvotes: 3
Views: 159
Reputation: 30922
Usually something like is achieved with javascript/jQuery.
You would bring down the read-only data when the page is first loaded but hidden from view. Then set it up so that when you double click a row the extra information is displayed through modifying the CSS display value.
It would be equally as easy to show this information in another window - or wherever else you desire.
For more information take a look at the jQuery website
Upvotes: 3