mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Refactor #3924 - For ColumnGroup & Row
This commit is contained in:
parent
05cb0588da
commit
a52acf2a32
9 changed files with 159 additions and 6 deletions
|
@ -1,7 +1,23 @@
|
|||
const ColumnGroupProps = [
|
||||
{
|
||||
name: 'type',
|
||||
type: 'string',
|
||||
default: 'null',
|
||||
description: 'Defines the type of the group.'
|
||||
},
|
||||
{
|
||||
name: 'pt',
|
||||
type: 'any',
|
||||
default: 'null',
|
||||
description: 'Uses to pass attributes to DOM elements inside the component.'
|
||||
}
|
||||
];
|
||||
|
||||
module.exports = {
|
||||
columngroup: {
|
||||
name: 'ColumnGroup',
|
||||
description: 'Columns can be grouped at header and footer sections by defining a ColumnGroup with nested rows and columns',
|
||||
'doc-url': 'datatable'
|
||||
'doc-url': 'datatable',
|
||||
props: ColumnGroupProps
|
||||
}
|
||||
};
|
||||
|
|
|
@ -1,7 +1,23 @@
|
|||
const RowProps = [
|
||||
{
|
||||
name: 'type',
|
||||
type: 'string',
|
||||
default: 'null',
|
||||
description: 'Defines the type of the group.'
|
||||
},
|
||||
{
|
||||
name: 'pt',
|
||||
type: 'any',
|
||||
default: 'null',
|
||||
description: 'Uses to pass attributes to DOM elements inside the component.'
|
||||
}
|
||||
];
|
||||
|
||||
module.exports = {
|
||||
row: {
|
||||
name: 'Row',
|
||||
description: 'DataTable can be grouped by defining a Row component with nested columns',
|
||||
'doc-url': 'datatable'
|
||||
'doc-url': 'datatable',
|
||||
props: RowProps
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue