This question is locked. New answers and comments are not allowed.
I'm trying to have an external SINGLE delete button for deleting the active row. I generally don't like interfaces that waste screen space with row action buttons over and over again for each row. For editting, I just hyperlink the primary key columns to launch the edit page.
My grids have ajax paging enabled where I'm fetching just a page of data from the server as needed.
1) How can I in javascript delete a row? I was going to just grab the primary keys and make an ajax call to actually delete the object from the db.
2) Optionally, then I'd make another ajax call to refetch the page.
Ideally, when they click my delete button, I'd like combine both steps above into one single ajax call. Is there any way to send "custom" data along with a GridCommand object?
My grids have ajax paging enabled where I'm fetching just a page of data from the server as needed.
1) How can I in javascript delete a row? I was going to just grab the primary keys and make an ajax call to actually delete the object from the db.
2) Optionally, then I'd make another ajax call to refetch the page.
Ideally, when they click my delete button, I'd like combine both steps above into one single ajax call. Is there any way to send "custom" data along with a GridCommand object?