Skip to content

Commit

Permalink
fix(html): remove k-virtual-content from Grid
Browse files Browse the repository at this point in the history
The class does not hold any styles and seems to be obsolete
  • Loading branch information
TeyaVes committed Dec 2, 2024
1 parent c0990f4 commit 84cf6ce
Show file tree
Hide file tree
Showing 24 changed files with 46 additions and 46 deletions.
6 changes: 3 additions & 3 deletions packages/html/src/grid/tests/grid-angular.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export default () =>(
</div>
</GridHeader>
<GridContainer>
<GridContent className="k-virtual-content">
<GridContent>
<div className="k-grid-table-wrap">
<GridTable>
<colgroup>
Expand Down Expand Up @@ -100,7 +100,7 @@ export default () =>(
</div>
</GridHeader>
<GridContainer>
<GridContent className="k-virtual-content">
<GridContent>
<div className="k-grid-table-wrap">
<GridTable>
<colgroup>
Expand Down Expand Up @@ -181,7 +181,7 @@ export default () =>(
</div>
</GridHeader>
<GridContainer>
<GridContent className="k-virtual-content">
<GridContent>
<div className="k-grid-table-wrap">
<GridTable>
<colgroup>
Expand Down
6 changes: 3 additions & 3 deletions packages/html/src/grid/tests/grid-column-menu-angular.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default () =>(
</div>
</GridHeader>
<GridContainer>
<GridContent className="k-virtual-content">
<GridContent>
<div className="k-grid-table-wrap">
<GridTable>
<colgroup>
Expand Down Expand Up @@ -85,7 +85,7 @@ export default () =>(
</div>
</GridHeader>
<GridContainer>
<GridContent className="k-virtual-content">
<GridContent>
<div className="k-grid-table-wrap">
<GridTable>
<colgroup>
Expand Down Expand Up @@ -142,7 +142,7 @@ export default () =>(
</div>
</GridHeader>
<GridContainer>
<GridContent className="k-virtual-content">
<GridContent>
<div className="k-grid-table-wrap">
<GridTable>
<colgroup>
Expand Down
6 changes: 3 additions & 3 deletions packages/html/src/grid/tests/grid-column-menu-blazor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default () =>(
</div>
</GridHeader>
<GridContainer>
<GridContent className="k-virtual-content">
<GridContent>
<div style={{ position: "relative" }}>
<div className="k-virtual-position">
<GridTable role="grid" style={{ height: 'auto' }}>
Expand Down Expand Up @@ -98,7 +98,7 @@ export default () =>(
</div>
</GridHeader>
<GridContainer>
<GridContent className="k-virtual-content">
<GridContent>
<div style={{ position: "relative" }}>
<div className="k-virtual-position">
<GridTable role="grid" style={{ height: 'auto' }}>
Expand Down Expand Up @@ -168,7 +168,7 @@ export default () =>(
</div>
</GridHeader>
<GridContainer>
<GridContent className="k-virtual-content">
<GridContent>
<div style={{ position: "relative" }}>
<div className="k-virtual-position">
<GridTable role="grid" style={{ height: 'auto' }}>
Expand Down
4 changes: 2 additions & 2 deletions packages/html/src/grid/tests/grid-editing-inline-angular.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export default () =>(
</div>
</GridHeader>
<GridContainer>
<GridContent className="k-virtual-content">
<GridContent>
<div className="k-grid-table-wrap">
<GridTable>
<colgroup>
Expand Down Expand Up @@ -103,7 +103,7 @@ export default () =>(
</div>
</GridHeader>
<GridContainer>
<GridContent className="k-virtual-content">
<GridContent>
<div className="k-grid-table-wrap">
<GridTable>
<colgroup>
Expand Down
4 changes: 2 additions & 2 deletions packages/html/src/grid/tests/grid-editing-inline-blazor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export default () =>(
</div>
</GridHeader>
<GridContainer>
<GridContent className="k-virtual-content">
<GridContent>
<div style={{ position: "relative" }}>
<div className="k-virtual-position">
<GridTable style={{ height: 'auto' }}>
Expand Down Expand Up @@ -114,7 +114,7 @@ export default () =>(
</div>
</GridHeader>
<GridContainer>
<GridContent className="k-virtual-content">
<GridContent>
<div style={{ position: "relative" }}>
<div className="k-virtual-position">
<GridTable style={{ height: 'auto' }}>
Expand Down
6 changes: 3 additions & 3 deletions packages/html/src/grid/tests/grid-filter-menu-angular.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export default () =>(
</div>
</GridHeader>
<GridContainer>
<GridContent className="k-virtual-content">
<GridContent>
<div className="k-grid-table-wrap">
<GridTable>
<colgroup>
Expand Down Expand Up @@ -93,7 +93,7 @@ export default () =>(
</div>
</GridHeader>
<GridContainer>
<GridContent className="k-virtual-content">
<GridContent>
<div className="k-grid-table-wrap">
<GridTable>
<colgroup>
Expand Down Expand Up @@ -157,7 +157,7 @@ export default () =>(
</div>
</GridHeader>
<GridContainer>
<GridContent className="k-virtual-content">
<GridContent>
<div className="k-grid-table-wrap">
<GridTable>
<colgroup>
Expand Down
6 changes: 3 additions & 3 deletions packages/html/src/grid/tests/grid-filter-menu-blazor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default () =>(
</div>
</GridHeader>
<GridContainer>
<GridContent className="k-virtual-content">
<GridContent>
<div className="k-pos-relative">
<div className="k-virtual-position">
<GridTable role="grid" style={{ height: 'auto' }}>
Expand Down Expand Up @@ -98,7 +98,7 @@ export default () =>(
</div>
</GridHeader>
<GridContainer>
<GridContent className="k-virtual-content">
<GridContent>
<div className="k-pos-relative">
<div className="k-virtual-position">
<GridTable role="grid" style={{ height: 'auto' }}>
Expand Down Expand Up @@ -168,7 +168,7 @@ export default () =>(
</div>
</GridHeader>
<GridContainer>
<GridContent className="k-virtual-content">
<GridContent>
<div className="k-pos-relative">
<div className="k-virtual-position">
<GridTable role="grid" style={{ height: 'auto' }}>
Expand Down
4 changes: 2 additions & 2 deletions packages/html/src/grid/tests/grid-filter-row-angular.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export default () =>(
</div>
</GridHeader>
<GridContainer>
<GridContent className="k-virtual-content">
<GridContent>
<div className="k-grid-table-wrap">
<GridTable>
<colgroup>
Expand Down Expand Up @@ -160,7 +160,7 @@ export default () =>(
</div>
</GridHeader>
<GridContainer>
<GridContent className="k-virtual-content">
<GridContent>
<div className="k-grid-table-wrap">
<GridTable>
<colgroup>
Expand Down
4 changes: 2 additions & 2 deletions packages/html/src/grid/tests/grid-filter-row-blazor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export default () =>(
</div>
</GridHeader>
<GridContainer>
<GridContent className="k-virtual-content">
<GridContent>
<div className="k-pos-relative">
<div className="k-virtual-position">
<GridTable style={{ height: 'auto' }}>
Expand Down Expand Up @@ -194,7 +194,7 @@ export default () =>(
</div>
</GridHeader>
<GridContainer>
<GridContent className="k-virtual-content">
<GridContent>
<div className="k-pos-relative">
<div className="k-virtual-position">
<GridTable style={{ height: 'auto' }}>
Expand Down
6 changes: 3 additions & 3 deletions packages/html/src/grid/tests/grid-grouping-blazor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export default () =>(
</div>
</GridHeader>
<GridContainer>
<GridContent className="k-virtual-content">
<GridContent>
<div className="k-pos-relative">
<div className="k-virtual-position">
<GridTable role="grid" style={{ height: 'auto' }}>
Expand Down Expand Up @@ -116,7 +116,7 @@ export default () =>(
</div>
</GridHeader>
<GridContainer>
<GridContent className="k-virtual-content">
<GridContent>
<div className="k-pos-relative">
<div className="k-virtual-position">
<GridTable role="grid" style={{ height: 'auto' }}>
Expand Down Expand Up @@ -220,7 +220,7 @@ export default () =>(
</div>
</GridHeader>
<GridContainer>
<GridContent className="k-virtual-content">
<GridContent>
<div className="k-pos-relative">
<div className="k-virtual-position">
<GridTable role="grid" style={{ height: 'auto' }}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export default () =>(
</div>
</GridHeader>
<GridContainer>
<GridContent className="k-virtual-content">
<GridContent>
<div className="k-grid-table-wrap">
<GridTable>
<colgroup>
Expand Down Expand Up @@ -118,7 +118,7 @@ export default () =>(
</div>
</GridHeader>
<GridContainer>
<GridContent className="k-virtual-content">
<GridContent>
<div className="k-grid-table-wrap">
<GridTable>
<colgroup>
Expand Down Expand Up @@ -222,7 +222,7 @@ export default () =>(
</div>
</GridHeader>
<GridContainer>
<GridContent className="k-virtual-content">
<GridContent>
<div className="k-grid-table-wrap">
<GridTable>
<colgroup>
Expand Down Expand Up @@ -346,7 +346,7 @@ export default () =>(
</div>
</GridHeader>
<GridContainer>
<GridContent className="k-virtual-content">
<GridContent>
<div className="k-grid-table-wrap">
<GridTable>
<colgroup>
Expand Down
4 changes: 2 additions & 2 deletions packages/html/src/grid/tests/grid-grouping.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export default () =>(
</div>
</GridHeader>
<GridContainer>
<GridContent className="k-virtual-content">
<GridContent>
<div className="k-grid-table-wrap">
<GridTable>
<colgroup>
Expand Down Expand Up @@ -137,7 +137,7 @@ export default () =>(
<span>angular with grouping</span>
<span>jquery with grouping</span>

<GridWithGrouping className="k-grid-no-scrollbar" contentClassName="k-virtual-content" toolbar={(
<GridWithGrouping className="k-grid-no-scrollbar" toolbar={(
<GridToolbar>
<Button>Button</Button>
<ButtonGroup>
Expand Down
2 changes: 1 addition & 1 deletion packages/html/src/grid/tests/grid-locked-column-states.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export default () => (
</TableTbody>
</GridTable>
</div>
<GridContent className="k-virtual-content" style={{ width: "605px", height: "320px" }}>
<GridContent style={{ width: "605px", height: "320px" }}>
<GridTable>
<colgroup>
<col style={{ width: "300px" }} />
Expand Down
2 changes: 1 addition & 1 deletion packages/html/src/grid/tests/grid-locked-columns-rtl.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ export default () =>(
<div></div>
</div>
</div>
<GridContent className="k-virtual-content">
<GridContent>
<div className="k-grid-table-wrap">
<GridTable>
<colgroup>
Expand Down
2 changes: 1 addition & 1 deletion packages/html/src/grid/tests/grid-locked-columns.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ export default () =>(
<div></div>
</div>
</div>
<GridContent className="k-virtual-content">
<GridContent>
<div className="k-grid-table-wrap">
<GridTable>
<colgroup>
Expand Down
2 changes: 1 addition & 1 deletion packages/html/src/grid/tests/grid-multicolumn-headers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export default () =>(
<div style={{ height: '0px' }}></div>
</div>
</div>
<GridContent className="k-virtual-content" style={{ width: "447px" }}>
<GridContent style={{ width: "447px" }}>
<div className="k-grid-table-wrap" style={{ position: "relative" }}>
<GridTable style={{ transform: "translateY(0px)", width: "900px" }}>
<colgroup>
Expand Down
2 changes: 1 addition & 1 deletion packages/html/src/grid/tests/grid-no-records.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export default () =>(
</div>
</GridHeader>
<GridContainer>
<GridContent className="k-virtual-content">
<GridContent>
<div className="k-grid-table-wrap">
<GridTable>
<colgroup>
Expand Down
2 changes: 1 addition & 1 deletion packages/html/src/grid/tests/grid-react-basic.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export default () =>(
</div>
</GridHeader>
<GridContainer>
<GridContent className="k-virtual-content">
<GridContent>
<div style={{ position: "relative" }}>
<GridTable>
<colgroup>
Expand Down
2 changes: 1 addition & 1 deletion packages/html/src/grid/tests/grid-react.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export default () =>(
</div>
</GridHeader>
<GridContainer>
<GridContent className="k-virtual-content">
<GridContent>
<div style={{ position: "relative" }}>
<GridTable style={{ width: "1180px" }}>
<colgroup>
Expand Down
4 changes: 2 additions & 2 deletions packages/html/src/grid/tests/grid-sticky-column-states.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export default () => (
</div>
</GridHeader>
<GridContainer>
<GridContent className="k-virtual-content">
<GridContent>
<div style={{ position: "relative" }}>
<GridTable style={{ width: "1100px" }}>
<colgroup>
Expand Down Expand Up @@ -150,7 +150,7 @@ export default () => (
</div>
</GridHeader>
<GridContainer>
<GridContent className="k-virtual-content">
<GridContent>
<div style={{ position: "relative" }}>
<div className="k-virtual-position">
<GridTable style={{ height: 'auto' }}>
Expand Down
2 changes: 1 addition & 1 deletion packages/html/src/grid/tests/grid-sticky-columns-rtl.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export default () =>(
</div>
</GridHeader>
<GridContainer>
<GridContent className="k-virtual-content">
<GridContent>
<div style={{ position: "relative" }}>
<GridTable style={{ width: "1434px" }}>
<colgroup>
Expand Down
4 changes: 2 additions & 2 deletions packages/html/src/grid/tests/grid-sticky-columns.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { TableThead, TableTbody, TableRow, TableTd } from '../../table';
export default () =>(
<>
<div id="test-area" className="k-d-grid">
<GridWithStickyColumns contentClassName="k-virtual-content" style={{ height: "400px", width: "500px" }} />
<GridWithStickyColumns style={{ height: "400px", width: "500px" }} />

<GridWithStickyColumns className="k-telerik-blazor">
<GridGroupingHeader>
Expand Down Expand Up @@ -39,7 +39,7 @@ export default () =>(
</div>
</GridHeader>
<GridContainer>
<GridContent className="k-virtual-content">
<GridContent>
<div style={{ position: "relative" }}>
<div className="k-virtual-position">
<GridTable style={{ height: 'auto' }}>
Expand Down
Loading

0 comments on commit 84cf6ce

Please sign in to comment.