I'm developing a component that will work as an explorer for Joomla, with a treeview on the sidebar and a list of elements on my component's main window . What I don't know how to do is, when clicking on a node of the treeview, updating the list of elements of the main window with the children of that node, if possible, without having to refresh the whole page. I think it has something to do with Ajax and JQuery, but have no clue on how to implement it.
Thank you!
Edit 1:
I think I haven't explained myself very well. The behaviour should be like the one in the com_media component: