I created a panel containing a List and a button in bottom toolbar.
the panel contains one list and one button; the store of the list gets the data about list of all visible layers in a map; i am using a createStore() function to create this store and pass it to List.store in List initComponent(); since in other operations, user can change a layer's visibility, which will change the list of visible layers; I want to re-load or update the list store before its parent panel shows up each time. currently i call createStore() and re-bind List.store, then use Panel.doComponenetLayout() which I thought it will adjust each children components' positions. but failed.
anybody can help me out of this?
thanks!~