I attach 2 images.
I have a grid, with to buttons : Quick add (is the same that add new record) insert new row in grid.
Add Full add (open a modal popup)
Steps:
1- Add new record using inline Add (quick add).
2- Fill some fields.
3- Click again in Quick Add.
And the first row info desapear.
I need between item 2 and 3, add some Confirm Widows such as:
The current row will be delete. Are you sure? with OK and Cancel.
If click on OK --> continue with Insert
if click on cancel --> keep the row and not insert.
Where and How I can do this??
Image 1 --> Items 1 and 2
Imgae 2 --> error, lost the current row!
I have a grid, with to buttons : Quick add (is the same that add new record) insert new row in grid.
Add Full add (open a modal popup)
Steps:
1- Add new record using inline Add (quick add).
2- Fill some fields.
3- Click again in Quick Add.
And the first row info desapear.
I need between item 2 and 3, add some Confirm Widows such as:
The current row will be delete. Are you sure? with OK and Cancel.
If click on OK --> continue with Insert
if click on cancel --> keep the row and not insert.
Where and How I can do this??
Image 1 --> Items 1 and 2
Imgae 2 --> error, lost the current row!