1. #1
    Sencha User
    Join Date
    May 2009
    Posts
    91
    Vote Rating
    0
    AndreKR is on a distinguished road

      0  

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

    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,120
    Vote Rating
    30
    Answers
    85
    tvanzoelen has a spectacular aura about tvanzoelen has a spectacular aura about tvanzoelen has a spectacular aura about

      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.

Thread Participants: 1

Tags for this Thread