Is it possible using jqGrid to load data from a table (parent table) but when I want to delete a record, it should first delete the associated records in the child table, because of the Foreign Key constraint.
If yes, how to do that.
Thanks!
Is it possible using jqGrid to load data from a table (parent table) but when I want to delete a record, it should first delete the associated records in the child table, because of the Foreign Key constraint.
If yes, how to do that.
Thanks!
You just need to set cascade delete on the fk constraints in the database.
the grid has nothing to do with the process really except for sending the signal to your back end.