Question

i have the hbox layout as below

 window
 --------------------------
| panel
| Form 
| hbox
|   row 1  combo1 combo2
| form
|  hbox
|   row 2  combo1 combo2
|
|
 --------------------------

The row 2 is added dynamically on clicking a button. Same code is executed to add row 1 and row 2 to hbox. When i click on combo1 in row#1 the roe#2 combo gets clicked.

Any idea why this happens and any suggestion on how i can achieve the behaviour of clicking combo of particular row displays its store?

Was it helpful?

Solution

try using itemId property of form field.

refer docs and extjs-avoid-using-the-id-property

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top