Refactor #3965 - Update BaseComponent & DataTable

This commit is contained in:
Tuğçe Küçükoğlu 2023-06-08 14:26:48 +03:00
parent 57b6f2c63a
commit 6c39522495
11 changed files with 78 additions and 76 deletions

View file

@ -1,5 +1,5 @@
<template>
<thead :class="cxo('thead')" :style="sxo('thead')" role="rowgroup" v-bind="columnGroup ? { ...ptm('thead'), ...getColumnGroupPT('root') } : ptm('thead')" data-pc-section="thead">
<thead :class="cx('thead')" :style="sx('thead')" role="rowgroup" v-bind="columnGroup ? { ...ptm('thead'), ...getColumnGroupPT('root') } : ptm('thead')" data-pc-section="thead">
<template v-if="!columnGroup">
<tr role="row" v-bind="ptm('headerRow')">
<template v-for="(col, i) of columns" :key="columnProp(col, 'columnKey') || columnProp(col, 'field') || i">