13 lines
386 B
JavaScript
13 lines
386 B
JavaScript
export function isLeaf(node) {
|
|
return node.field !== undefined;
|
|
}
|
|
|
|
/**
|
|
* A function used to process headerClassName params.
|
|
* @param {GridColumnGroupHeaderParams} params The parameters of the column group header.
|
|
* @returns {string} The class name to be added to the column group header cell.
|
|
*/
|
|
|
|
/**
|
|
* The union type representing the [[GridColDef]] column header class type.
|
|
*/ |