Hi,
I am using rowactions plugin, and for normal row-action the hideIndex is working fine.
But i have a requirement where the groupaction buttons will show/hide depending on data i.e.like hideIndex for normal actions.

I read the API and checked actual implementation code of Ext.ux.grid.RowActions plugin.
And i found out both normal row-actions(actions for normal grid rows) and groupactions, both are processed by
processactions internal function where it checks for hideIndex value.

Now my problem is, even if give hideIndex (i.e. data index of store according to which this action to show/hide), it is always showing, so i was wondering ....is it possible to have groupactions which are data /situation dependent i.e. hide/show.

If yes can anyone give me any example, how to do it?

My Code is -

Code:
Users.getGroupActions = function(){
var items = new Array();
items.push({
        iconCls : 'icon-user-lock',
        qtip : "Lock User Account",
        hideIndex : 'hideLockUser',
        align : 'left',
        callback : function(grid, records, action, groupId) {
            var operation = Enum.Users.Operations.LOCKUSER;
            alert("Account locked");
            //UsersHandlers.handleGroupAction(grid, records,action, groupId, operation);
        }//eo callback
    });
    
    items.push({
        iconCls : 'icon-user-unlock',
        qtip : "Unlock User Account",
        align : 'left',
        hideIndex : 'hideUnlockUser',
        hide : true,
        callback : function(grid, records, action, groupId) {
            var operation = Enum.Users.Operations.UNLOCKUSER;
            //UsersHandlers.handleGroupAction(grid, records,action, groupId, operation);
            alert("Account Unlocked");
        }//eo callback
    });
}
Code:
this.action = new Ext.ux.grid.RowActions({
                    header : 'Actions',//TODO: Add this to column headers namespace
                    keepSelection : true,
                    /**
                     * The different actions performed on any row (Roles) are
                     * listed in actions The callback function performs the
                     * necessary action
                     */
                    actions : [{
.......
}],

groupActions : Users.getGroupActions()//gets group(user) actions
Data sent also has hideIndexes properly configured.

example data -
Code:
forget unnecessary indexes.... other hide indexes ...those are which i was trying......
{
    "class": "consult.framework.util.JsonObjectResponse",
    "data": [
        {
            "application": "IPAD",
            "casebase": "APPLE",
            "class": "consult.framework.VO.UsersVO",
            "email": "sdfsf@sdfsdf.cv",
            "fullname": "ADMIN1",
            "hideLockUser": false,
            "hideRoleNew": true,
            "hideRolesDelete": false,
            "hideUnlockUser": true,
            "hideUserDelete": false,
            "hideUserEdit": true,
            "id": "58",
            "isAccountLocked": "0",
            "name": "ADMIN1",
            "permversion": "0",
            "role": "Admin",
            "userid": "67"
        },
        {
            "application": "IPHONE",
            "casebase": "APPLE",
            "class": "consult.framework.VO.UsersVO",
            "email": "sdfsf@sdfsdf.cv",
            "fullname": "ADMIN1",
            "hideLockUser": false,
            "hideRoleNew": true,
            "hideRolesDelete": false,
            "hideUnlockUser": true,
            "hideUserDelete": false,
            "hideUserEdit": true,
            "id": "59",
            "isAccountLocked": "0",
            "name": "ADMIN1",
            "permversion": "0",
            "role": "Admin",
            "userid": "67"
        },
        {
            "application": "IPOD",
            "casebase": "APPLE",
            "class": "consult.framework.VO.UsersVO",
            "email": "sdfsf@sdfsdf.cv",
            "fullname": "ADMIN1",
            "hideLockUser": false,
            "hideRoleNew": true,
            "hideRolesDelete": false,
            "hideUnlockUser": true,
            "hideUserDelete": false,
            "hideUserEdit": true,
            "id": "60",
            "isAccountLocked": "0",
            "name": "ADMIN1",
            "permversion": "0",
            "role": "Admin",
            "userid": "67"
        },
        {
            "application": "IPAD",
            "casebase": "APPLE",
            "class": "consult.framework.VO.UsersVO",
            "email": "sdfsdf@dfsd.cvdf",
            "fullname": "AUTHOR1",
            "hideLockUser": false,
            "hideRoleNew": true,
            "hideRolesDelete": false,
            "hideUnlockUser": true,
            "hideUserDelete": false,
            "hideUserEdit": true,
            "id": "52",
            "isAccountLocked": "0",
            "name": "AUTHOR1",
            "permversion": "0",
            "role": "Author",
            "userid": "65"
        },
        {
            "application": "IPHONE",
            "casebase": "APPLE",
            "class": "consult.framework.VO.UsersVO",
            "email": "sdfsdf@dfsd.cvdf",
            "fullname": "AUTHOR1",
            "hideLockUser": false,
            "hideRoleNew": true,
            "hideRolesDelete": false,
            "hideUnlockUser": true,
            "hideUserDelete": false,
            "hideUserEdit": true,
            "id": "53",
            "isAccountLocked": "0",
            "name": "AUTHOR1",
            "permversion": "0",
            "role": "Author",
            "userid": "65"
        },
        {
            "application": "IPOD",
            "casebase": "APPLE",
            "class": "consult.framework.VO.UsersVO",
            "email": "sdfsdf@dfsd.cvdf",
            "fullname": "AUTHOR1",
            "hideLockUser": false,
            "hideRoleNew": true,
            "hideRolesDelete": false,
            "hideUnlockUser": true,
            "hideUserDelete": false,
            "hideUserEdit": true,
            "id": "54",
            "isAccountLocked": "0",
            "name": "AUTHOR1",
            "permversion": "0",
            "role": "Author",
            "userid": "65"
        },
        {
            "application": "ALL",
            "casebase": "ALL",
            "class": "consult.framework.VO.UsersVO",
            "email": "pramod.kh2are@rget.com",
            "fullname": "pramodkhare23",
            "hideLockUser": false,
            "hideRoleNew": true,
            "hideRolesDelete": false,
            "hideUnlockUser": true,
            "hideUserDelete": false,
            "hideUserEdit": true,
            "id": "48",
            "isAccountLocked": "0",
            "name": "Pramod",
            "permversion": "1",
            "role": "Super Admin",
            "userid": "63"
        },
        {
            "application": "IPAD",
            "casebase": "APPLE",
            "class": "consult.framework.VO.UsersVO",
            "email": "asdfsdf@sdfsd.com",
            "fullname": "REVIEWER1",
            "hideLockUser": false,
            "hideRoleNew": true,
            "hideRolesDelete": false,
            "hideUnlockUser": true,
            "hideUserDelete": false,
            "hideUserEdit": true,
            "id": "55",
            "isAccountLocked": "0",
            "name": "REVIEWER1",
            "permversion": "1",
            "role": "Reviewer",
            "userid": "66"
        },
        {
            "application": "IPHONE",
            "casebase": "APPLE",
            "class": "consult.framework.VO.UsersVO",
            "email": "asdfsdf@sdfsd.com",
            "fullname": "REVIEWER1",
            "hideLockUser": false,
            "hideRoleNew": true,
            "hideRolesDelete": false,
            "hideUnlockUser": true,
            "hideUserDelete": false,
            "hideUserEdit": true,
            "id": "56",
            "isAccountLocked": "0",
            "name": "REVIEWER1",
            "permversion": "1",
            "role": "Reviewer",
            "userid": "66"
        },
        {
            "application": "IPOD",
            "casebase": "APPLE",
            "class": "consult.framework.VO.UsersVO",
            "email": "asdfsdf@sdfsd.com",
            "fullname": "REVIEWER1",
            "hideLockUser": false,
            "hideRoleNew": true,
            "hideRolesDelete": false,
            "hideUnlockUser": true,
            "hideUserDelete": false,
            "hideUserEdit": true,
            "id": "57",
            "isAccountLocked": "0",
            "name": "REVIEWER1",
            "permversion": "3",
            "role": "Reviewer",
            "userid": "66"
        }
    ],
    "errorCode": null,
    "message": "USERS_LOADED_SUCCESSFULLY",
    "success": true,
    "totalRows": 18
}

Can anyone help?