Skip to content

Commit a7ab826

Browse files
authored
chore: sync gen change restoring root grid refs for handlers logic (#808)
1 parent 9702ad0 commit a7ab826

203 files changed

Lines changed: 212 additions & 9 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 & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ export default class Sample extends React.Component<any, any> {
4949
<div className="container fill">
5050
<IgrGrid
5151
autoGenerate={false}
52+
ref={this.gridRef}
5253
data={this.nwindData}
5354
rowEditable={true}
5455
allowFiltering={true}

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ export default class Sample extends React.Component<any, any> {
3636
<div className="container fill">
3737
<IgrGrid
3838
autoGenerate={false}
39+
ref={this.gridRef}
3940
data={this.nwindData}
4041
moving={true}
4142
allowAdvancedFiltering={true}>

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ export default class Sample extends React.Component<any, any> {
3636
<div className="container fill">
3737
<IgrGrid
3838
autoGenerate={false}
39+
ref={this.gridRef}
3940
id="grid"
4041
data={this.nwindData}
4142
moving={true}

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ export default class Sample extends React.Component<any, any> {
3939
<IgrGrid
4040
autoGenerate={false}
4141
data={this.customersData}
42-
primaryKey="ID">
42+
primaryKey="ID"
43+
ref={this.gridRef}>
4344
<IgrColumn
4445
header="ID"
4546
field="ID">

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ export default class Sample extends React.Component<any, any> {
3737
<div className="container fill">
3838
<IgrGrid
3939
autoGenerate={false}
40+
ref={this.gridRef}
4041
data={this.nwindData}
4142
moving={true}
4243
primaryKey="ProductID"

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ export default class Sample extends React.Component<any, any> {
3939
<IgrGrid
4040
autoGenerate={false}
4141
data={this.employeesNestedData}
42+
ref={this.gridRef}
4243
id="grid">
4344
<IgrColumn
4445
header="Name"

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ export default class Sample extends React.Component<any, any> {
4141
autoGenerate={false}
4242
data={this.worldCitiesAbove500K}
4343
primaryKey="ID"
44+
ref={this.gridRef}
4445
onRendered={this.webGridWithComboRendered}>
4546
<IgrColumn
4647
field="ID"

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ export default class Sample extends React.Component<any, any> {
3939
<div className="container fill">
4040
<IgrGrid
4141
autoGenerate={false}
42+
ref={this.grid1Ref}
4243
data={this.roleplayDataStats}
4344
primaryKey="Name">
4445
<IgrColumn

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ export default class Sample extends React.Component<any, any> {
3737
<IgrGrid
3838
autoGenerate={false}
3939
id="grid"
40+
ref={this.gridRef}
4041
data={this.nwindData}
4142
primaryKey="ProductID"
4243
allowFiltering={true}>

samples/grids/grid/cell-selection-mode/src/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ export default class Sample extends React.Component<any, any> {
6363
<div className="container fill">
6464
<IgrGrid
6565
autoGenerate={false}
66+
ref={this.gridRef}
6667
data={this.nwindData}>
6768
<IgrColumn
6869
field="ProductID"

0 commit comments

Comments
 (0)