1. #1
    Ext User
    Join Date
    Feb 2008
    Posts
    12
    Vote Rating
    0
    aymen00007 is on a distinguished road

      0  

    Default [2.0??] Grid with two plugins

    [2.0??] Grid with two plugins


    Hello, I have a Grid with 2 Checkbox columns, but i don't know how to set correctly the property plugins of the grid.I tried by:
    plugins:[{checkColumn},{checkColumn2}], but it doesn't work:checkColumn and checkColumn2 are 2 variables of Ext.grid.CheckColumn

  2. #2
    Ext User
    Join Date
    Jul 2007
    Posts
    3,128
    Vote Rating
    1
    devnull is an unknown quantity at this point

      0  

    Default


    I think it should just be a simple array of values, not an array of objects:
    [checkColumn,checkColumn2]

  3. #3
    Ext User
    Join Date
    Jul 2007
    Location
    Florida
    Posts
    9,996
    Vote Rating
    5
    mjlecomte will become famous soon enough mjlecomte will become famous soon enough

      0  

    Default


    Devnull is correct though:

    Multiple plugins
    PHP Code:
    plugins:[this.checkColumnthis.filters],//object or array of objects 
    One plugin
    PHP Code:
    pluginsfilters,//example with just one plugin 

    I don't know if you saw this example, but I load multiple plugins into the grid there. I'll be posting an update with bug fixes, etc. to that thread in next day or two.

Thread Participants: 2