PDA

View Full Version : Many Comboboxes with the same store



Reimius
31 Jan 2012, 7:07 AM
So I have an App that has 6 comboboxes that use the same store on the same page. The store contains about 300 records. My question is: Is it better to to have 1 store that is used by all comboboxes, or instead create a store for each combobox. My only real concern here is for performance, I'm mostly wondering if having only one store creates a lot of events that cascade to other comboboxes unnecessarily causing slow-down.

jay@moduscreate.com
31 Jan 2012, 7:54 AM
Sharing stores could have a serious impact on your app. The combo will filter the store, which could have cascading effects on your app elsewhere.

Reimius
31 Jan 2012, 7:59 AM
My only concern here is performance. I have already tested how filtering affects the other fields in this situation.

I think I read your answer wrong the first time because it wasn't direct, going to mark it as correct.