Results 1 to 2 of 2

Thread: When should I use a feature and when a plugin?

  1. #1
    Sencha User
    Join Date
    May 2009
    Posts
    91
    Vote Rating
    1
      0  

    Default Unanswered: When should I use a feature and when a plugin?

    I am creating an extension I want to use in several grids (a paste-handler) and I am wondering whether to make a plugin or a feature. What's the difference?

  2. #2
    Ext JS Premium Member tvanzoelen's Avatar
    Join Date
    Apr 2008
    Location
    Groningen - Netherlands
    Posts
    1,147
    Answers
    87
    Vote Rating
    34
      0  

    Default

    Its in the docs

    A feature is a type of plugin that is specific to the Ext.grid.Panel. It provides several hooks that allows the developer to inject additional functionality at certain points throughout the grid creation cycle. This class provides the base template methods that are available to the developer, it should be extended.
    http://docs.sencha.com/ext-js/4-0/#!...eature.Feature

    But I think a feature has more to do with display than functionality.

Tags for this Thread

Posting Permissions

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