darkling235
21 Mar 2011, 8:44 AM
I have a group of grids that contain records which the user can add, edit and delete. When the user tries to delete a record, what we're trying to do is flag the record as deleted. We want to keep the row for our records but we don't want the user to see it anymore. When the user is done with his modifications we batch all the grid records to the server.
The problem I'm having is how do I hide the record in the table until we're ready to save it? I've tried filtering on the liststore but it seems when I filter out the removed records they don't get returned to the server on save. The liststore basically shrinks everytime I filter out another record.
Basically what I'm trying to do is I want to flag the record's attribute, hide it from the user, and then send the entire collection to the server as normal. Can anyone help me?
Thanks
The problem I'm having is how do I hide the record in the table until we're ready to save it? I've tried filtering on the liststore but it seems when I filter out the removed records they don't get returned to the server on save. The liststore basically shrinks everytime I filter out another record.
Basically what I'm trying to do is I want to flag the record's attribute, hide it from the user, and then send the entire collection to the server as normal. Can anyone help me?
Thanks