문제

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?

도움이 되었습니까?

해결책

try using itemId property of form field.

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top