Skip to main content
added 219 characters in body
Source Link
republicca
  • 163
  • 2
  • 10

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:

enter image description here

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!

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:

enter image description here

Source Link
republicca
  • 163
  • 2
  • 10

Updating component's main window when clicking on sidebar

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!