1. #1
    Ext User vee.ant's Avatar
    Join Date
    Apr 2009
    Posts
    32
    Vote Rating
    0
    vee.ant is on a distinguished road

      0  

    Question how to add more than one plugins in editorgrid for CheckColumn??

    hello all,
    this is my first time post something here

    here is my problem,
    i want to add more than one CheckColumn in my EditorGridPanel,
    i'm trying to do this on my grid :
    ......
    plugins: [check1, check2],
    ......
    but the grid show, but its have same behaviour, its accept the check1 action

    i also try to do this :
    ......
    plugins: [ {check1}, {check2} ],
    ......
    but the grid wont show..

    do i have fault in the code??
    what can i do to give different action to each checkColumn??


    i hope anyone can help me,
    thanks a lot

  2. #2
    Ext User
    Join Date
    Feb 2008
    Posts
    200
    Vote Rating
    2
    tomcheng76 is on a distinguished road

      0  

    Default

    It works for me.
    Debug onMouseDown function in Ext.grid.CheckColumn.prototype through firebug.
    Make necessary changes in it.

  3. #3
    Ext User vee.ant's Avatar
    Join Date
    Apr 2009
    Posts
    32
    Vote Rating
    0
    vee.ant is on a distinguished road

      0  

    Talking its resolve, sorry all

    thanks tomceng76
    but i think its me who get error,
    i use same index to 2 checkColumn

    to add more than one grid, you just set them like an array, like
    ...
    plugins: [check1, check2, another plugins]
    ...

    thanks for all, and sorry

Thread Participants: 1