I use one unique datatable / form for a lot of datas...
I call the only one php file passing table name (and other informations if needed) as parameters an set fields according these parameters.
For example, on table 1 (master) witch have some childs in table 2, I select a row an click on button to start ChildTable display using same php file with location.replace and parameters as ChildTableName, ParentID, and parent table name as return URL for return button.
When returning I know the table name and ID of old selected row (ParentID) but can not be sure this row is displayed in current table view to select it at return time.
Is it possible, when returning to caller (master table), to set the state as it was before calling child table (order, filter, page) and to select previous selected row
Thanks by advance