PDA

View Full Version : ListStore problem? very strange!!!!



shingocat
9 May 2012, 5:06 AM
Hi everyone,
When I used the Rpc to retrieve data from server side, and then storing in ListStore in client side to bind in ComboBox.But I found one interesting thing. when I refresh the website or recreate this web(in my class, the action is that clicking the Registry Button, and then in the Center TabPanel) . The content in the ListStore is not renew when the new User Registry TabItem is rendered, but only adding one more model in the ListStore.
Do someone know why?
thanks!


3502835029

shingocat
9 May 2012, 5:30 PM
I have worked it out. It is my sever side problem. it should be cleared the List element before adding element into the list.