Skip to content

Commit bd7012c

Browse files
author
tfsbuild
committed
Adding changes from build igniteui-xplat-examples-output+PRs_2025.5.20.1
1 parent a7ab826 commit bd7012c

137 files changed

Lines changed: 1091 additions & 630 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

samples/grids/grid/action-strip/src/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export default class Sample extends React.Component<any, any> {
5656
pinning={this.pinningConfig1}
5757
primaryKey="ProductID">
5858
<IgrActionStrip
59-
>
59+
name="actionStrip">
6060
<IgrGridPinningActions
6161
>
6262
</IgrGridPinningActions>

samples/grids/grid/advanced-filtering-options/src/index.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ export default class Sample extends React.Component<any, any> {
2222
this.grid = r;
2323
this.setState({});
2424
}
25+
private column1: IgrColumn
2526

2627
constructor(props: any) {
2728
super(props);
@@ -82,7 +83,8 @@ export default class Sample extends React.Component<any, any> {
8283
header="Discontinued"
8384
dataType="boolean"
8485
bodyTemplate={this.webGridDiscontinuedCellTemplate}
85-
sortable={true}>
86+
sortable={true}
87+
name="column1">
8688
</IgrColumn>
8789
</IgrGrid>
8890
</div>

samples/grids/grid/advanced-filtering-style/src/index.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ export default class Sample extends React.Component<any, any> {
2222
this.grid = r;
2323
this.setState({});
2424
}
25+
private column1: IgrColumn
2526

2627
constructor(props: any) {
2728
super(props);
@@ -77,7 +78,8 @@ export default class Sample extends React.Component<any, any> {
7778
header="Discontinued"
7879
dataType="boolean"
7980
bodyTemplate={this.webGridDiscontinuedCellTemplate}
80-
sortable={true}>
81+
sortable={true}
82+
name="column1">
8183
</IgrColumn>
8284
</IgrGrid>
8385
</div>

samples/grids/grid/binding-composite-data/src/index.tsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ export default class Sample extends React.Component<any, any> {
2424
this.grid = r;
2525
this.setState({});
2626
}
27+
private column1: IgrColumn
28+
private column2: IgrColumn
2729

2830
constructor(props: any) {
2931
super(props);
@@ -52,7 +54,8 @@ export default class Sample extends React.Component<any, any> {
5254
bodyTemplate={this.webGridCompositeContactCellTemplate}
5355
inlineEditorTemplate={this.webGridCompositeContactEditCellTemplate}
5456
width="250px"
55-
resizable={false}>
57+
resizable={false}
58+
name="column1">
5659
</IgrColumn>
5760
<IgrColumn
5861
header="Address"
@@ -61,7 +64,8 @@ export default class Sample extends React.Component<any, any> {
6164
bodyTemplate={this.webGridCompositeAddressCellTemplate}
6265
inlineEditorTemplate={this.webGridCompositeAddressEditCellTemplate}
6366
width="250px"
64-
resizable={false}>
67+
resizable={false}
68+
name="column2">
6569
</IgrColumn>
6670
<IgrColumn
6771
header="Country"

samples/grids/grid/binding-crud-data/src/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export default class Sample extends React.Component<any, any> {
4343
primaryKey="ProductID"
4444
isLoading={true}
4545
allowFiltering={false}
46-
pagingMode="remote"
46+
pagingMode="Remote"
4747
rowEditable={true}>
4848
<IgrColumn
4949
field="ProductName"

samples/grids/grid/binding-nested-data-1/src/index.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ export default class Sample extends React.Component<any, any> {
2424
this.grid = r;
2525
this.setState({});
2626
}
27+
private column1: IgrColumn
2728

2829
constructor(props: any) {
2930
super(props);
@@ -60,7 +61,8 @@ export default class Sample extends React.Component<any, any> {
6061
field="Employees"
6162
header="Employees"
6263
bodyTemplate={this.webGridNestedDataCellTemplate}
63-
width="20%">
64+
width="20%"
65+
name="column1">
6466
</IgrColumn>
6567
<IgrColumn
6668
field="City"

samples/grids/grid/cascading-combo/src/index.tsx

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ export default class Sample extends React.Component<any, any> {
2424
this.grid = r;
2525
this.setState({});
2626
}
27+
private column1: IgrColumn
28+
private column2: IgrColumn
29+
private column3: IgrColumn
2730

2831
constructor(props: any) {
2932
super(props);
@@ -42,7 +45,7 @@ export default class Sample extends React.Component<any, any> {
4245
data={this.worldCitiesAbove500K}
4346
primaryKey="ID"
4447
ref={this.gridRef}
45-
onRendered={this.webGridWithComboRendered}>
48+
rendered={this.webGridWithComboRendered}>
4649
<IgrColumn
4750
field="ID"
4851
header="ID"
@@ -51,17 +54,20 @@ export default class Sample extends React.Component<any, any> {
5154
<IgrColumn
5255
field="Country"
5356
header="Country"
54-
bodyTemplate={this.webGridCountryDropDownTemplate}>
57+
bodyTemplate={this.webGridCountryDropDownTemplate}
58+
name="column1">
5559
</IgrColumn>
5660
<IgrColumn
5761
field="Region"
5862
header="Region"
59-
bodyTemplate={this.webGridRegionDropDownTemplate}>
63+
bodyTemplate={this.webGridRegionDropDownTemplate}
64+
name="column2">
6065
</IgrColumn>
6166
<IgrColumn
6267
field="City"
6368
header="City"
64-
bodyTemplate={this.webGridCityDropDownTemplate}>
69+
bodyTemplate={this.webGridCityDropDownTemplate}
70+
name="column3">
6571
</IgrColumn>
6672
</IgrGrid>
6773
</div>

samples/grids/grid/cell-editing-sample/src/index.tsx

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ export default class Sample extends React.Component<any, any> {
2525
this.grid1 = r;
2626
this.setState({});
2727
}
28+
private column1: IgrColumn
29+
private column2: IgrColumn
30+
private column3: IgrColumn
2831

2932
constructor(props: any) {
3033
super(props);
@@ -52,14 +55,16 @@ export default class Sample extends React.Component<any, any> {
5255
header="Race"
5356
dataType="string"
5457
inlineEditorTemplate={this.webGridCellEditCellTemplate}
55-
editable={true}>
58+
editable={true}
59+
name="column1">
5660
</IgrColumn>
5761
<IgrColumn
5862
field="Class"
5963
header="Class"
6064
inlineEditorTemplate={this.webGridCellEditCellTemplate}
6165
editable={true}
62-
dataType="string">
66+
dataType="string"
67+
name="column2">
6368
</IgrColumn>
6469
<IgrColumn
6570
field="Age"
@@ -72,7 +77,8 @@ export default class Sample extends React.Component<any, any> {
7277
header="Alignment"
7378
inlineEditorTemplate={this.webGridCellEditCellTemplate}
7479
editable={true}
75-
dataType="string">
80+
dataType="string"
81+
name="column3">
7682
</IgrColumn>
7783
</IgrGrid>
7884
</div>

samples/grids/grid/column-data-types/src/index.tsx

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ export default class Sample extends React.Component<any, any> {
2020
this.grid = r;
2121
this.setState({});
2222
}
23+
private column1: IgrColumn
2324
private _columnPipeArgs1: IgrColumnPipeArgs | null = null;
2425
public get columnPipeArgs1(): IgrColumnPipeArgs {
2526
if (this._columnPipeArgs1 == null)
@@ -32,6 +33,7 @@ export default class Sample extends React.Component<any, any> {
3233
}
3334
return this._columnPipeArgs1;
3435
}
36+
private column2: IgrColumn
3537
private _columnPipeArgs2: IgrColumnPipeArgs | null = null;
3638
public get columnPipeArgs2(): IgrColumnPipeArgs {
3739
if (this._columnPipeArgs2 == null)
@@ -44,6 +46,7 @@ export default class Sample extends React.Component<any, any> {
4446
}
4547
return this._columnPipeArgs2;
4648
}
49+
private column3: IgrColumn
4750
private _columnPipeArgs3: IgrColumnPipeArgs | null = null;
4851
public get columnPipeArgs3(): IgrColumnPipeArgs {
4952
if (this._columnPipeArgs3 == null)
@@ -55,6 +58,7 @@ export default class Sample extends React.Component<any, any> {
5558
}
5659
return this._columnPipeArgs3;
5760
}
61+
private column4: IgrColumn
5862
private _columnPipeArgs4: IgrColumnPipeArgs | null = null;
5963
public get columnPipeArgs4(): IgrColumnPipeArgs {
6064
if (this._columnPipeArgs4 == null)
@@ -67,6 +71,7 @@ export default class Sample extends React.Component<any, any> {
6771
}
6872
return this._columnPipeArgs4;
6973
}
74+
private column5: IgrColumn
7075
private _columnPipeArgs5: IgrColumnPipeArgs | null = null;
7176
public get columnPipeArgs5(): IgrColumnPipeArgs {
7277
if (this._columnPipeArgs5 == null)
@@ -79,6 +84,7 @@ export default class Sample extends React.Component<any, any> {
7984
}
8085
return this._columnPipeArgs5;
8186
}
87+
private column6: IgrColumn
8288
private _columnPipeArgs6: IgrColumnPipeArgs | null = null;
8389
public get columnPipeArgs6(): IgrColumnPipeArgs {
8490
if (this._columnPipeArgs6 == null)
@@ -130,7 +136,8 @@ export default class Sample extends React.Component<any, any> {
130136
editable={true}
131137
resizable={true}
132138
dataType="number"
133-
pipeArgs={this.columnPipeArgs1}>
139+
pipeArgs={this.columnPipeArgs1}
140+
name="column1">
134141
</IgrColumn>
135142
<IgrColumn
136143
field="OrderFullDate"
@@ -141,7 +148,8 @@ export default class Sample extends React.Component<any, any> {
141148
editable={true}
142149
resizable={true}
143150
dataType="dateTime"
144-
pipeArgs={this.columnPipeArgs2}>
151+
pipeArgs={this.columnPipeArgs2}
152+
name="column2">
145153
</IgrColumn>
146154
<IgrColumn
147155
field="OrderDate"
@@ -152,7 +160,8 @@ export default class Sample extends React.Component<any, any> {
152160
editable={true}
153161
resizable={true}
154162
dataType="date"
155-
pipeArgs={this.columnPipeArgs3}>
163+
pipeArgs={this.columnPipeArgs3}
164+
name="column3">
156165
</IgrColumn>
157166
<IgrColumn
158167
field="OrderDateDelay"
@@ -163,7 +172,8 @@ export default class Sample extends React.Component<any, any> {
163172
editable={true}
164173
resizable={true}
165174
dataType="time"
166-
pipeArgs={this.columnPipeArgs4}>
175+
pipeArgs={this.columnPipeArgs4}
176+
name="column4">
167177
</IgrColumn>
168178
<IgrColumn
169179
field="UnitsInStock"
@@ -174,7 +184,8 @@ export default class Sample extends React.Component<any, any> {
174184
editable={true}
175185
resizable={true}
176186
dataType="currency"
177-
pipeArgs={this.columnPipeArgs5}>
187+
pipeArgs={this.columnPipeArgs5}
188+
name="column5">
178189
</IgrColumn>
179190
<IgrColumn
180191
field="UnitsOnOrder"
@@ -185,7 +196,8 @@ export default class Sample extends React.Component<any, any> {
185196
editable={true}
186197
resizable={true}
187198
dataType="percent"
188-
pipeArgs={this.columnPipeArgs6}>
199+
pipeArgs={this.columnPipeArgs6}
200+
name="column6">
189201
</IgrColumn>
190202
<IgrColumn
191203
field="Discontinued"

0 commit comments

Comments
 (0)