50 lines
1.2 KiB
TypeScript
Executable File
50 lines
1.2 KiB
TypeScript
Executable File
/**
|
|
* Columns can be grouped at header and footer sections by defining a ColumnGroup component.
|
|
* It is a helper component for DataTable.
|
|
*
|
|
* [Live Demo](https://www.primevue.org/datatable/)
|
|
* @module columngroup
|
|
*/
|
|
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
|
|
|
/**
|
|
* Defines valid properties in ColumnGroup component.
|
|
*/
|
|
export interface ColumnGroupProps {
|
|
/**
|
|
* Type of column group
|
|
*/
|
|
type?: 'header' | 'footer' | undefined;
|
|
}
|
|
|
|
/**
|
|
* Defines valid slots in ColumnGroup component.
|
|
*/
|
|
export interface ColumnGroupSlots {}
|
|
|
|
/**
|
|
* Defines valid emits in ColumnGroup component.
|
|
*/
|
|
export interface ColumnGroupEmits {}
|
|
|
|
/**
|
|
* **PrimeVue - ColumnGroup**
|
|
*
|
|
* _It is a helper component for DataTable._
|
|
*
|
|
* [Live Demo](https://www.primevue.org/datatable/)
|
|
* --- ---
|
|
* ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
|
|
*
|
|
* @group Component
|
|
*/
|
|
declare class ColumnGroup extends ClassComponent<ColumnGroupProps, ColumnGroupSlots, ColumnGroupEmits> {}
|
|
|
|
declare module '@vue/runtime-core' {
|
|
interface GlobalComponents {
|
|
ColumnGroup: GlobalComponentConstructor<ColumnGroup>;
|
|
}
|
|
}
|
|
|
|
export default ColumnGroup;
|