Page 87 of 97 FirstFirst ... 37778586878889 ... LastLast
Results 861 to 870 of 965

Thread: [1.0] Grid RowActions Plugin

  1. #861
    Sencha - Community Support Team jsakalos's Avatar
    Join Date
    Apr 2007
    Location
    Slovakia
    Posts
    27,664

    Default

    It can be that destroy method is required for plugins. To verify, try to add empty destroy function to the plugin. If the error disappears, let me know, I'll then implement a real destroy.
    Jozef Sakalos, aka Saki

    Education, extensions and services for developers at new http://extjs.eu
    News: Grid MultiSearch Plugin, Grid MultiSort Plugin, Configuring ViewModel Hierarchy


  2. #862
    Ext JS Premium Member
    Join Date
    Aug 2007
    Location
    Germany
    Posts
    139

    Default

    Yes, its gone.
    Thx.

  3. #863
    Ext JS Premium Member
    Join Date
    Oct 2010
    Posts
    75

    Default Using RowActions with Designer

    Hi,

    I know this (in a more general sense) has been a topic of some other threads, but I am confused as to how to add custom code when working with Designer-created files. The example at http://rowactions.extjs.eu/ is very impressive -- more than I need actually -- I just wanted RowExpander, but I'll take it all

    But, I would greatly apprecaite a step-by-step description of how one would modify only the editable files from Designer to achieve the addition of these plugins.

    Sincerely,
    Jim

  4. #864
    Sencha - Community Support Team jsakalos's Avatar
    Join Date
    Apr 2007
    Location
    Slovakia
    Posts
    27,664

    Default

    The general procedure is to add plugins (only RowExpander in your case) in the initComponent of the file without "ui" suffix. "ui" files are Designer-generated and they are overwritten every time you export your project. Thus, all modifications/additions come in non-"ui" files.
    Jozef Sakalos, aka Saki

    Education, extensions and services for developers at new http://extjs.eu
    News: Grid MultiSearch Plugin, Grid MultiSort Plugin, Configuring ViewModel Hierarchy


  5. #865
    Ext JS Premium Member
    Join Date
    Oct 2010
    Posts
    75

    Default Specifics of adding plugins

    Thanks for the quick reply. I understand the theory of adding custom code to only the non-ui .js file generated by Designer. What I am asking is exactly how that is done. An example would be great. Most of the code that is posted in these forums does not assume the use of Designer, and therefore takes a different form than Designer users need if they wish to ever be able to work on the project in Designer again. Exact implementation, when a handler reference cannot be added to the .ui.js code, is a big question to me.

  6. #866
    Sencha - Community Support Team jsakalos's Avatar
    Join Date
    Apr 2007
    Location
    Slovakia
    Posts
    27,664

    Default

    Designer does nothing special to the code generated. You can use general rules described in "Writing a Big..." in my signature or any other good tutorial on extending. Also, all my examples use technology of extending, including row actions example, so there is nothing new or different that I could add to already existing samples.
    Jozef Sakalos, aka Saki

    Education, extensions and services for developers at new http://extjs.eu
    News: Grid MultiSearch Plugin, Grid MultiSort Plugin, Configuring ViewModel Hierarchy


  7. #867
    Ext JS Premium Member
    Join Date
    Oct 2010
    Posts
    75

    Default

    Thanks Saki. I've figured this out, but it was probably a lot more painful than it needed to be, partially due to my ignorance, but partially due to lack of step by step examples when using Designer. In my perusal of the forums, this seems to be a fairly common question. And, since Designer is much newer than EXT JS, I am guessing it might get even more common.

    A step-by-step example of using Designer to create an application that extends classes, with appropriate comments on Autoref, "promote to class", and creating your own index.html to use instead of xds_index.html, would probably be very helpful to some people. I suspect that, given your skill level, it isn't obvious to you what is confusing to us proletariat

    I'd volunteer to write it (and will if you want), but I'm afraid I would say things that aren't technically correct and I don't want to mislead anyone with imprecise use of JS terminology).

  8. #868
    Sencha - Community Support Team jsakalos's Avatar
    Join Date
    Apr 2007
    Location
    Slovakia
    Posts
    27,664

    Default

    There are some Guides (PDFs) here: http://www.sencha.com/products/designer/

    Don't they help?
    Jozef Sakalos, aka Saki

    Education, extensions and services for developers at new http://extjs.eu
    News: Grid MultiSearch Plugin, Grid MultiSort Plugin, Configuring ViewModel Hierarchy


  9. #869
    Ext JS Premium Member
    Join Date
    Oct 2010
    Posts
    75

    Default

    I'm pretty sure I read all them -- my apologies if I missed something. I don't think the issue is using Designer itself -- that's pretty self-explanatory. The issue that really needs to be elaborated on, IMHO, is how to use Designer to create a project, and then add listeners, plugins, and extensions to that project in a manner that will not be overwritten by Designer on the next export. Now that I know how to do it, in retrospect it seems easy enough, but it didn't seem easy to figure out in the first place.

  10. #870

    Default

    JimR - take a look at this:

    http://sencha.com/x/5q

    and this for some background:

    http://www.sencha.com/forum/showthre...h-Ext-Designer

Page 87 of 97 FirstFirst ... 37778586878889 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •