Jump to content

Recommended Posts

Posted

Hi,

I am making some tests with custom components. How can I use a plugin with them??...

i.e. I want to extend TUniEdit to use ClearButton plugin... Using a normal TUniEdit and ClientEvents it is easy, but I don't know how to make it work directly in a custom component...

 

in WebCreate the following produce ajax error:

JSConfig('plugins', ['Ext.create("Ext.ux.form.field.ClearButton", {serverSideClear: false})']);

 

TIA

Posted

Hi,

I am making some tests with custom components. How can I use a plugin with them??...

i.e. I want to extend TUniEdit to use ClearButton plugin... Using a normal TUniEdit and ClientEvents it is easy, but I don't know how to make it work directly in a custom component...

 

in WebCreate the following produce ajax error:

JSConfig('plugins', ['Ext.create("Ext.ux.form.field.ClearButton", {serverSideClear: false})']);

 

TIA

 

Sorry... It's my fault... Simply have to use:

JSProperty('plugins', 'Ext.create("Ext.ux.form.field.ClearButton", {serverSideClear: false})');

Posted
JSConfigPlugin('Ext.ux.form.field.ClearButton',
          [
            'serverSideClear',False
          ]
      );

Thank you very much...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...