LoginSignup
0
0

More than 5 years have passed since last update.

Ext JSのコンポーネントの継承先を変更する場合の注意点

Last updated at Posted at 2014-12-09

Ext JSのコンポーネントの継承先を変更する場合の注意点

Ext JSのコンポーネントの継承先を Ext.panel.Panel から Ext.grid.Panel のように変更し、そのコンポーネントの initComponent()this.callParent() する場合、コンポーネントの必須項目が変わるため動かなくなることがある。

コンポーネントの必須項目に関しては、Ext JS APIドキュメントの該当クラスの「Configs」で、「REQUIRED」ラベルがついているものである。
Ver4.2.3の Ext.grid.Panel に関しては、 columnsstore が必須コンフィグとなっている。 下記APIドキュメントを参照のこと。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0