i'm trying to make a dynamic treeview menu with one sql table based on parent_id method.
I could generate the treeview on my blade page and add new sections and childs.
my problem now is how can i softdelete all childs and sub childs when softdeleting a parent section ?
for exemple when deleting PHP section all childs and sub childs under PHP section must be deleted.
Thank you.

