PDA

View Full Version : Rowexpander and stores



mentors
7 Apr 2014, 1:38 AM
Hi,
I'm new to sencha.
I'm tring to use a grid with ROWEXPANDER plugin( SingelExpand="false" ), in which i have a formpanel to edit data. The form contains 2 comboboxes ( combobox1=Country, combobox2=City ) and i want them linked ( when I select a value in combobox1 I want to reload data in combobox2 filtered by combox1.value ). I tried with 2 stores defined outside the combo definitions; with OnReadData; with listeners and DirectEvents; the best result was with theOnreadData ( for the second grid ) - but when I expand a second row, the form for the fist one doesn't work anymore. How are the stores managed for expanded controls? What is the best way to work with rowexpander-edit-form-stores?

scottmartin
7 Apr 2014, 4:15 AM
Moved the Q&A .. plugins is for announcements.

Gary Schlosberg
8 Apr 2014, 1:19 PM
What version of ExtJS are you using? Are the combos in the same form? Do you have a test case which shows this behavior?
https://fiddle.sencha.com/#home

mentors
11 Apr 2014, 4:43 AM
Solved:http://forums.ext.net/showthread.php?31791-Rowexpander-comboboxes-and-stores