function getColKeysByFixedTypeWithinColKeys({
    colKeys,
    fixedType,
    colgroups,
}) {
    let result = null;

    if (Array.isArray(colKeys)) {
        result = colgroups
            .filter((x) => colKeys.indexOf(x.key) > -1 && x.fixed === fixedType)
            .map((x) => x.key);
    }

    return result;
}
@getColKeysByFixedTypeWithinColKeys
@desc  get col keys by fixed type
@param {array<T>} colKeys
@param {string} fixedType - fixed type
@param {array<object>} colgroups
@return {array} colKeys