I have a following problem in coding a particular requirment:
There is a single gridview to which I need to bind different tables at runtime. Moreover, the gridview should have update, edit, delete operations possible.
However, The conditions are:
1. The editing of row should happen on Double Clicking the particular row (this also means, there should not be any link for Edit) in gridview.
2. The Delete Link Should be there in Gridview, but the on clicking that, the value in rows should not get deleted from database/ from gridview. However, It should just turn that particular row Red in color and as well as disabled. (There should not be any change in database like creating a status column or so to store the status of record in a row.)
3. The Update link is not there, so we need to have seperate button at the bootom of gridview to update the record depending on selected table.
4. The Cancel Editing Function should be achieved by using the Single Click of mouse anywhere in gridview.