Fixed #1836 - For ColumnGroup
parent
248b052c5d
commit
36d0702040
|
@ -1,9 +1,35 @@
|
||||||
interface ColumnGroupProps {
|
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
||||||
type?: string;
|
|
||||||
|
type ColumnGroupType = 'header' | 'footer';
|
||||||
|
|
||||||
|
export interface ColumnGroupProps {
|
||||||
|
/**
|
||||||
|
* Type of column group
|
||||||
|
*/
|
||||||
|
type?: ColumnGroupType;
|
||||||
}
|
}
|
||||||
|
|
||||||
declare class ColumnGroup {
|
export interface ColumnGroupSlots {
|
||||||
$props: ColumnGroupProps;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export declare type ColumnGroupEmits = {
|
||||||
|
}
|
||||||
|
|
||||||
|
declare class ColumnGroup extends ClassComponent<ColumnGroupProps, ColumnGroupSlots, ColumnGroupEmits> { }
|
||||||
|
|
||||||
|
declare module '@vue/runtime-core' {
|
||||||
|
interface GlobalComponents {
|
||||||
|
ColumnGroup: GlobalComponentConstructor<ColumnGroup>
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* ColumnGroup is a helper component to create grouped header and footer on DataTable.
|
||||||
|
*
|
||||||
|
* Demos:
|
||||||
|
*
|
||||||
|
* - [ColumnGroup](https://www.primefaces.org/primevue/showcase/#/datatable/colgroup)
|
||||||
|
*
|
||||||
|
*/
|
||||||
export default ColumnGroup;
|
export default ColumnGroup;
|
||||||
|
|
Loading…
Reference in New Issue