What about replacing the link. e.g. via AJAX, with a new one containing the "Do you really want to delete xyz" warning... that once clicked actually deletes your entry... and refreshes the datagrid. You could even use the same link and have a flag that says "userWantsToDeleteRow" and use it to conditionally change the actions to do and the contents to display. Best,
Ernesto On Wed, Sep 30, 2009 at 11:29 AM, Peter Arnulf Lustig <[email protected]>wrote: > Hi, > > I'd like to create a delete link where you can delete a row in a datagrid. > But when you click on the delete link, the delete label should change and a > warning occurs: "Do you really want to delete xyz". > After the second click it finally deletes the content. > > How can I achieve that? Could you verbalize the procedure? > > Thanks!! > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
