Some time ago I started learning of ExtJS library and now I would like to create following:
There is a browser window and it is separated verticaly.
On the left there is a TreePanel with directories and subdirectories (only 2 level deep).
On the right side there will be an output for content of the selected subdirectory.
I have done the interface part, but I don't how to change the content on the right side when user clicks on subdirectory on the left side. I can make the request with Ext.Ajax.request, but I don't know how to trigger the update of the content for the right side.
By the way. As I mantioned the left side is TreePanel and the right side is GripPanel and they are in Viewport with xtype : 'panel', but I don't think that this is imoptant for that question.
Any suggestions?