Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -232,3 +232,34 @@ test.meta({ browserSize: [1000, 800] })('The grid should display correctly when
...defaultConfig,
dataSource: [],
}));

test('Boolean column checkboxes should display correctly when there are fixed columns (T1303134)', async (t) => {
// arrange
const dataGrid = new DataGrid('#container');
const { takeScreenshot, compareResults } = createScreenshotsComparer(t);

await t.expect(dataGrid.isReady()).ok();

// act
await dataGrid.scrollTo(t, { x: 100 });

await testScreenshot(t, takeScreenshot, 'T1303134_boolean_column_checkboxes_with_fixed_columns.png', { element: dataGrid.element });

// assert
await t
.expect(compareResults.isValid())
.ok(compareResults.errorMessages());
}).before(async () => createWidget('dxDataGrid', {
dataSource: [
{ id: 1, text: 'item 1', enabled: false },
{ id: 2, text: 'item 2', enabled: true },
{ id: 3, text: 'item 3' },
],
keyExpr: 'id',
columns: [{
dataField: 'id',
fixed: true,
}, 'enabled', 'text'],
columnWidth: 200,
width: 400,
}));
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
font-size: $fluent-checkbox-icon-font-size;

&::before {
z-index: 2;
z-index: 1;
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ $material-checkbox-ripple-transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

&::before {
z-index: 2;
z-index: 1;
}

.dx-checkbox-checked & {
Expand Down
Loading