Keep filter & sort in data table after adding/editing/deleting entry

i have grid which having column with input filter and sorting option. after editing some row data i need to keep filter data as it is (we need to reload grid data)

Could you please, clarify your issue in details? What state of data do you need to get?
There is an getInitialData() method allowing you to bring your grid back to the original state: