Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
グリッドパネルがあり、その下にグリッドの行(レコード)をクリックし、ボタンをクリックするとウィンドウが表示されます。
しかし、私がやりたいのは、ユーザーがグリッドのレコード(行)をクリックしない限り、ボタンを無効にすることです。
これどうやってするの ?
私はSencha-Architech2を使用しています。
グリッドのselectionchangeイベントを使用します。
選択の変更が発生した後に発生します
例: http: //jsfiddle.net/TkZsm/