Skip to content

Commit

Permalink
review fix: master detail is wider than expected
Browse files Browse the repository at this point in the history
  • Loading branch information
pomahtri committed Sep 26, 2024
1 parent 6bcf68d commit 8024951
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/* eslint-disable max-classes-per-file */
import type { dxElementWrapper } from '@js/core/renderer';
import $ from '@js/core/renderer';
import { setWidth } from '@js/core/utils/size';

import type { ColumnHeadersView } from '../column_headers/m_column_headers';
import type {
Expand Down Expand Up @@ -306,7 +307,8 @@ const rowsView = (
}

private _updateMasterDetailWidths() {
this._$element?.find('.dx-master-detail-cell')?.width?.(
setWidth(
this._$element?.find('.dx-master-detail-cell'),
this._getMasterDetailWidth(),
);
}
Expand Down

0 comments on commit 8024951

Please sign in to comment.