mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Fixed #5123 - DataTable: body template rowTogglerCallback callback option added
This commit is contained in:
parent
e3d9f41926
commit
f9117be895
2 changed files with 17 additions and 2 deletions
|
@ -18,7 +18,17 @@
|
|||
:data-p-frozen-column="columnProp('frozen')"
|
||||
>
|
||||
<span v-if="responsiveLayout === 'stack'" :class="cx('columnTitle')" v-bind="getColumnPT('columnTitle')">{{ columnProp('header') }}</span>
|
||||
<component v-if="column.children && column.children.body && !d_editing" :is="column.children.body" :data="rowData" :column="column" :field="field" :index="rowIndex" :frozenRow="frozenRow" :editorInitCallback="editorInitCallback" />
|
||||
<component
|
||||
v-if="column.children && column.children.body && !d_editing"
|
||||
:is="column.children.body"
|
||||
:data="rowData"
|
||||
:column="column"
|
||||
:field="field"
|
||||
:index="rowIndex"
|
||||
:frozenRow="frozenRow"
|
||||
:editorInitCallback="editorInitCallback"
|
||||
:rowTogglerCallback="toggleRow"
|
||||
/>
|
||||
<component
|
||||
v-else-if="column.children && column.children.editor && d_editing"
|
||||
:is="column.children.editor"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue