Example #1
0
    private void changeGroupCells(eGroup group)
    {
        this._selectedGroup = group;

        // Update group count;
        this.showGroupRowCount();

        // Show group cells.
        ArrayList groups = this.getGroupRowKeys(this._selectedGroup);

        this.showCells(groups);
    }
Example #2
0
    // Getting row keys from group.
    private ArrayList getGroupRowKeys(eGroup group)
    {
        if (this._docsFile == null)
        {
            return(null);
        }

        // #1. Only grouping.
        //return this._docsFile.getRowKeyList(GROUP_COL_ID, (byte)group);

        // #2. Grouping and order.
        bool asc = this.isAscending();

        return(this._docsFile.getRowKeyListOrder(GROUP_COL_ID, (byte)group, ORDER_COL_ID, asc));
    }