Skip to content

Commit f794f1b

Browse files
author
tfsbuild
committed
Adding changes from build igniteui-xplat-examples-output+PRs_2024.9.5.3
1 parent 6033a7e commit f794f1b

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

samples/grids/grid/column-moving-styles/src/index.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ export default class Sample extends React.Component<any, any> {
137137
field="ChangePercent"
138138
header="Change Percent"
139139
dataType="Number"
140+
minWidth="150px"
140141
bodyTemplate={this.webGridCurrencyCellTemplate}
141142
headerTemplate={this.webGridPinHeaderTemplate}
142143
name="column8">
@@ -145,6 +146,7 @@ export default class Sample extends React.Component<any, any> {
145146
field="YearlyChange"
146147
header="Yearly Change"
147148
dataType="Number"
149+
minWidth="150px"
148150
bodyTemplate={this.webGridCurrencyCellTemplate}
149151
headerTemplate={this.webGridPinHeaderTemplate}
150152
name="column9">

samples/grids/grid/toolbar-sample-3/src/index.tsx

+4-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { IgrGridModule } from 'igniteui-react-grids';
66
import { IgrGrid, IgrGridToolbar, IgrGridToolbarActions, IgrGridToolbarExporter, IgrColumn } from 'igniteui-react-grids';
77
import { ComponentRenderer, WebGridDescriptionModule } from 'igniteui-react-core';
88
import { AthletesDataItem, AthletesData } from './AthletesData';
9-
import { IgrExporterOptionsBase, IgrGridToolbarExportEventArgs } from 'igniteui-react-grids';
9+
import { IgrGridToolbarExportEventArgs, IgrExporterOptionsBase } from 'igniteui-react-grids';
1010

1111
import 'igniteui-react-grids/grids/combined';
1212
import 'igniteui-react-grids/grids/themes/light/bootstrap.css';
@@ -102,10 +102,11 @@ export default class Sample extends React.Component<any, any> {
102102

103103
public webGridToolbarExporting(sender: IgrGrid, evt: IgrGridToolbarExportEventArgs): void {
104104
const args = evt.detail;
105-
const options: IgrExporterOptionsBase = args.options;
105+
const options: IgrExporterOptionsBase = (args.nativeElement as any).options;
106+
const exporter = (args.nativeElement as any).exporter;
106107
if (options) {
107108
options.fileName = `Report_${new Date().toDateString()}`;
108-
(args.exporter as any).columnExporting.subscribe((columnArgs: any) => {
109+
exporter.columnExporting.subscribe((columnArgs: any) => {
109110
columnArgs.cancel = columnArgs.header === 'Athlete' || columnArgs.header === 'Country';
110111
});
111112
}

samples/grids/hierarchical-grid/excel-style-filtering-style/src/index.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* shared styles are loaded from: */
22
/* https://static.infragistics.com/xplatform/css/samples */
33

4-
#hierarchicalGrid1 {
4+
#grid {
55
--ig-grid-filtering-row-background: #ffcd0f;
66
--ig-button-background: #FFCD0F;
77
--ig-button-foreground: #292826;

samples/grids/hierarchical-grid/multi-column-headers-overview/src/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ export default class Sample extends React.Component<any, any> {
7676
data={this.hierarchicalCustomers}
7777
ref={this.hierarchicalGridRef}
7878
id="hierarchicalGrid"
79-
primaryKey="ID"
79+
primaryKey="CustomerID"
8080
moving="true"
8181
allowFiltering="true">
8282
<IgrColumn

0 commit comments

Comments
 (0)