Skip to content

Commit

Permalink
Merge pull request #1964 from smeup/fix/kup-data-table/wrapperFixedWidth
Browse files Browse the repository at this point in the history
update fixed width kup-data-table
  • Loading branch information
pasere-smeup authored Jun 27, 2024
2 parents 068d755 + 0e09b64 commit 10f652e
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5476,6 +5476,7 @@ export class KupDataTable {
this.#rowsRefs = [];
this.#renderedRows = [];
let elStyle = undefined;
let actionWrapperWidth = undefined;
this.#sizedColumns = this.#getSizedColumns();

let rows = null;
Expand Down Expand Up @@ -5613,6 +5614,11 @@ export class KupDataTable {
width: this.tableWidth,
overflow: 'auto',
};
actionWrapperWidth = {
...actionWrapperWidth,
width: this.tableWidth,
overflow: 'auto',
};
}

let stickyEl = undefined;
Expand Down Expand Up @@ -5672,7 +5678,7 @@ export class KupDataTable {
</style>
<div id={componentWrapperId} class={wrapClass}>
<div class="group-wrapper">{groupChips}</div>
<div class="actions-wrapper">
<div class="actions-wrapper" style={actionWrapperWidth}>
{this.globalFilter ? (
<div id="global-filter">
<FTextField
Expand Down

0 comments on commit 10f652e

Please sign in to comment.