PDA

View Full Version : [1.0] Plugins for Editor Fields for columns of GridPanel are not registered



r_honey
Feb 08, 2010, 9:17 AM
I am not sure if this is a bug. But I have a plugin for DateField. That works perfectly when DateField is used standalone. But when the DateField with the plugin registered in <Plugins> section is used as an editor for a column of the GridPanel, the foolowing script is generated:

columns:[{dataIndex:"n1",editor:{id:"ctl05",xtype:"datefield",plugins:null,format:"n/j/Y"}},......

Am I doing something wrong, or Plugins cannot be used for GridPanel editor fields??

r_honey
Feb 09, 2010, 4:45 AM
Okay I have verified that this is a bug. I omitted the <Plugins> section for the GridPanel editors, and instead added the required plugins directly in the <CustomConfig> section using "plugins" as the name of the confog item.

And it works exactly as it should have.

Vladimir
Feb 09, 2010, 6:51 PM
Hi,

Fixed and committed to the SVN