We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trying to add a row class based on a row value.
Using /deep/ .ve-table .ve-table-body-tr:has(.active)
works, is applied (shows in dev tools) But does not render the table row with given color.
Did I miss something in the docs?
<ve-table ref="tableRef" :max-height="600" :height="200" :fixed-header="true" :expand-option="expandOption" row-key-field-name="sequence" :virtual-scroll-option="virtualScrollOption" :columns="getColumns" :row-class-name="getRowClass" :sort-option="sortOption" :scroll-width="'80vw'" :cellSelectionOption="cellSelectionOption" :cell-style-option="cellStyleOption" :border-y="true" :row-style-option="rowStyleOption" :table-data="products"/> </div>
virtualScrollOption: { enable: false, }, rowStyleOption: { stripe: true, clickHighlight: true, hoverHighlight: true, }, cellSelectionOption: { enable: false, }, cellStyleOption: { bodyCell: ({ row }) => ({ backgroundColor: row.isrunning ? 'lightblue' : '' }) }, expandOption: { trigger: "cell", expandable: ({row, column, rowIndex}) => { return !this.fullscreen // if (row["comment"].length > 0) { // return true; // } // return false }, render: ({row, column, rowIndex}, h) => { return <SubProductTable columnWidth={this.columnWidths} index={rowIndex} row={row}/>; }, },
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Trying to add a row class based on a row value.
Using /deep/ .ve-table .ve-table-body-tr:has(.active)
works, is applied (shows in dev tools) But does not render the table row with given color.
Did I miss something in the docs?
The text was updated successfully, but these errors were encountered: