Skip to content
Closed
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

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ export class CountryStatsAfrica extends Array<CountryStatsAfricaItem> {
new CountryStatsAfricaItem({ code: `CAF`, population: 4493000, workedHours: 38, gDP: 622, name: `Central African Republic` }),
new CountryStatsAfricaItem({ code: `TCD`, population: 14111000, workedHours: 40.4, gDP: 2067, name: `Chad` }),
new CountryStatsAfricaItem({ code: `COM`, population: 777000, workedHours: 40.1, gDP: 1413, name: `Comoros` }),
new CountryStatsAfricaItem({ code: `COG`, population: 4856000, workedHours: 38.1, gDP: 5543, name: `Congo` }),
new CountryStatsAfricaItem({ code: `COG`, population: 4856000, workedHours: 38.1, gDP: 5543, name: `Congo Republic` }),
new CountryStatsAfricaItem({ code: `CIV`, population: 23226000, workedHours: 39.7, gDP: 3242, name: `Cote Ivoire` }),
new CountryStatsAfricaItem({ code: `COD`, population: 76245000, workedHours: 44, gDP: 812, name: `Democratic Republic of Congo` }),
new CountryStatsAfricaItem({ code: `COD`, population: 76245000, workedHours: 44, gDP: 812, name: `DR Congo` }),
new CountryStatsAfricaItem({ code: `EGY`, population: 92443000, workedHours: 39.7, gDP: 10096, name: `Egypt` }),
new CountryStatsAfricaItem({ code: `GNQ`, population: 1169000, workedHours: 38.8, gDP: 27554, name: `Equatorial Guinea` }),
new CountryStatsAfricaItem({ code: `SWZ`, population: 1104000, workedHours: 45.7, gDP: 7759, name: `Eswatini` }),
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

44 changes: 24 additions & 20 deletions samples/grids/grid/column-hiding-toolbar-style/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,29 @@
/* https://dl.infragistics.com/x/css/samples/shared.v8.css */

.grid igc-grid-toolbar-actions, igx-column-actions {
--ig-column-actions-background-color: #292826;
--ig-column-actions-title-color: #ffcd0f;
--ig-checkbox-tick-color: #292826;
--ig-checkbox-label-color: #ffcd0f;
--ig-checkbox-empty-color: #ffcd0f;
--ig-checkbox-fill-color: #ffcd0f;
--ig-input-group-idle-text-color: white;
--ig-input-group-filled-text-color: #ffcd0f;
--ig-input-group-focused-text-color: #ffcd0f;
--ig-input-group-focused-border-color: #ffcd0f;
--ig-input-group-focused-secondary-color: #ffcd0f;
--igx-button-foreground: #292826;
--igx-button-background: #ffcd0f;
--igx-button-hover-background: #404040;
--igx-button-hover-foreground: #ffcd0f;
--igx-button-focus-background: #ffcd0f;
--igx-button-focus-foreground: black;
--igx-button-focus-visible-background: #ffcd0f;
--igx-button-focus-visible-foreground: black;
--igx-button-disabled-foreground: #ffcd0f;
--ig-column-actions-background-color: #292826;
--ig-column-actions-title-color: #ffcd0f;
--ig-checkbox-tick-color: #292826;
--ig-checkbox-label-color: #ffcd0f;
--ig-checkbox-label-color-hover: #c5a11b;
--ig-checkbox-empty-color: #ffcd0f;
--ig-checkbox-focus-outline-color: #c5a11b;
--ig-checkbox-empty-fill-color: #292826;
--ig-checkbox-fill-color: #ffcd0f;
--ig-checkbox-fill-color-hover: #c5a11b;
--ig-input-group-idle-text-color: white;
--ig-input-group-filled-text-color: #ffcd0f;
--ig-input-group-focused-text-color: #ffcd0f;
--ig-input-group-focused-border-color: #ffcd0f;
--ig-input-group-focused-secondary-color: #ffcd0f;
--ig-flat-button-foreground: #292826;
--ig-flat-button-background: #ffcd0f;
--ig-flat-button-hover-background: #404040;
--ig-flat-button-hover-foreground: #ffcd0f;
--ig-flat-button-focus-background: #ffcd0f;
--ig-flat-button-focus-foreground: black;
--ig-flat-button-focus-visible-background: #ffcd0f;
--ig-flat-button-focus-visible-foreground: black;
--ig-flat-button-disabled-foreground: #ffcd0f;
}

12 changes: 8 additions & 4 deletions samples/grids/grid/column-hiding-toolbar-style/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ export default class Sample extends React.Component<any, any> {
field="ID"
header="ID"
dataType="string"
sortable={true}>
hidden={true}
disableHiding={true}>
</IgrColumn>
<IgrColumn
field="ContactName"
Expand Down Expand Up @@ -98,19 +99,22 @@ export default class Sample extends React.Component<any, any> {
field="PostalCode"
header="Postal Code"
dataType="string"
sortable={true}>
sortable={true}
disableHiding={true}>
</IgrColumn>
<IgrColumn
field="Country"
header="Country"
dataType="string"
sortable={true}>
sortable={true}
disableHiding={true}>
</IgrColumn>
<IgrColumn
field="Phone"
header="Phone"
dataType="string"
sortable={true}>
sortable={true}
disableHiding={true}>
</IgrColumn>
</IgrGrid>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ export default class Sample extends React.Component<any, any> {
label="Hierarchical Grid Cell Selection"
propertyPath="CellSelection"
name="CellSelectionEditorHierarchicalGrid"
valueType="EnumValue">
valueType="EnumValue"
dropDownNames={["None", "Single", "Multiple"]}
dropDownValues={["None", "Single", "Multiple"]}>
</IgrPropertyEditorPropertyDescription>
<IgrPropertyEditorPropertyDescription
label="Row Island Cell Selection"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,25 @@
--ig-column-actions-title-color: #ffcd0f;
--ig-checkbox-tick-color: #292826;
--ig-checkbox-label-color: #ffcd0f;
--ig-checkbox-label-color-hover: #c5a11b;
--ig-checkbox-empty-color: #ffcd0f;
--ig-checkbox-focus-outline-color: #c5a11b;
--ig-checkbox-empty-fill-color: #292826;
--ig-checkbox-fill-color: #ffcd0f;
--ig-checkbox-fill-color-hover: #c5a11b;
--ig-input-group-idle-text-color: white;
--ig-input-group-filled-text-color: #ffcd0f;
--ig-input-group-focused-text-color: #ffcd0f;
--ig-input-group-focused-border-color: #ffcd0f;
--ig-input-group-focused-secondary-color: #ffcd0f;
--ig-button-foreground: #292826;
--ig-button-background: #ffcd0f;
--ig-button-hover-background: #404040;
--ig-button-hover-foreground: #ffcd0f;
--ig-button-focus-background: #ffcd0f;
--ig-button-focus-foreground: black;
--ig-button-focus-visible-background: #ffcd0f;
--ig-button-focus-visible-foreground: black;
--ig-button-disabled-foreground: #ffcd0f;
--ig-flat-button-foreground: #292826;
--ig-flat-button-background: #ffcd0f;
--ig-flat-button-hover-background: #404040;
--ig-flat-button-hover-foreground: #ffcd0f;
--ig-flat-button-focus-background: #ffcd0f;
--ig-flat-button-focus-foreground: black;
--ig-flat-button-focus-visible-background: #ffcd0f;
--ig-flat-button-focus-visible-foreground: black;
--ig-flat-button-disabled-foreground: #ffcd0f;
}

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import ReactDOM from 'react-dom/client';
import './index.css';

import { IgrHierarchicalGridModule } from 'igniteui-react-grids';
import { IgrHierarchicalGrid, IgrGridToolbar, IgrGridToolbarActions, IgrGridToolbarPinning, IgrColumn, IgrRowIsland } from 'igniteui-react-grids';
import { IgrHierarchicalGrid, IgrColumn, IgrRowIsland } from 'igniteui-react-grids';
import HierarchicalCustomersData from './HierarchicalCustomersData.json';
import { IgrColumnTemplateContext } from 'igniteui-react-grids';

Expand Down Expand Up @@ -38,15 +38,6 @@ export default class Sample extends React.Component<any, any> {
data={this.hierarchicalCustomersData}
columnSelection="single"
primaryKey="CustomerID">
<IgrGridToolbar
>
<IgrGridToolbarActions
>
<IgrGridToolbarPinning
>
</IgrGridToolbarPinning>
</IgrGridToolbarActions>
</IgrGridToolbar>
<IgrColumn
field="CustomerID"
hidden={true}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,13 @@ export default class Sample extends React.Component<any, any> {
<IgrColumn
field="GrammyNominations"
header="Grammy Nominations"
dataType="string"
dataType="number"
resizable={true}>
</IgrColumn>
<IgrColumn
field="GrammyAwards"
header="Grammy Awards"
dataType="string"
dataType="number"
resizable={true}>
</IgrColumn>
<IgrRowIsland
Expand Down
44 changes: 24 additions & 20 deletions samples/grids/tree-grid/column-hiding-toolbar-style/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,29 @@
/* https://dl.infragistics.com/x/css/samples/shared.v8.css */

#treeGrid {
--ig-column-actions-background-color: #292826;
--ig-column-actions-title-color: #ffcd0f;
--ig-checkbox-tick-color: #292826;
--ig-checkbox-label-color: #ffcd0f;
--ig-checkbox-empty-color: #ffcd0f;
--ig-checkbox-fill-color: #ffcd0f;
--ig-input-group-idle-text-color: white;
--ig-input-group-filled-text-color: #ffcd0f;
--ig-input-group-focused-text-color: #ffcd0f;
--ig-input-group-focused-border-color: #ffcd0f;
--ig-input-group-focused-secondary-color: #ffcd0f;
--igx-button-foreground: #292826;
--igx-button-background: #ffcd0f;
--igx-button-hover-background: #404040;
--igx-button-hover-foreground: #ffcd0f;
--igx-button-focus-background: #ffcd0f;
--igx-button-focus-foreground: black;
--igx-button-focus-visible-background: #ffcd0f;
--igx-button-focus-visible-foreground: black;
--igx-button-disabled-foreground: #ffcd0f;
--ig-column-actions-background-color: #292826;
--ig-column-actions-title-color: #ffcd0f;
--ig-checkbox-tick-color: #292826;
--ig-checkbox-label-color: #ffcd0f;
--ig-checkbox-label-color-hover: #c5a11b;
--ig-checkbox-empty-color: #ffcd0f;
--ig-checkbox-focus-outline-color: #c5a11b;
--ig-checkbox-empty-fill-color: #292826;
--ig-checkbox-fill-color: #ffcd0f;
--ig-checkbox-fill-color-hover: #c5a11b;
--ig-input-group-idle-text-color: white;
--ig-input-group-filled-text-color: #ffcd0f;
--ig-input-group-focused-text-color: #ffcd0f;
--ig-input-group-focused-border-color: #ffcd0f;
--ig-input-group-focused-secondary-color: #ffcd0f;
--ig-flat-button-foreground: #292826;
--ig-flat-button-background: #ffcd0f;
--ig-flat-button-hover-background: #404040;
--ig-flat-button-hover-foreground: #ffcd0f;
--ig-flat-button-focus-background: #ffcd0f;
--ig-flat-button-focus-foreground: black;
--ig-flat-button-focus-visible-background: #ffcd0f;
--ig-flat-button-focus-visible-foreground: black;
--ig-flat-button-disabled-foreground: #ffcd0f;
}

16 changes: 11 additions & 5 deletions samples/grids/tree-grid/column-hiding-toolbar-style/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,9 @@ export default class Sample extends React.Component<any, any> {
<IgrColumn
field="ID"
dataType="number"
sortable={true}>
sortable={true}
hidden={true}
disableHiding={true}>
</IgrColumn>
<IgrColumn
field="Title"
Expand Down Expand Up @@ -89,22 +91,26 @@ export default class Sample extends React.Component<any, any> {
<IgrColumn
field="Country"
dataType="string"
sortable={true}>
sortable={true}
disableHiding={true}>
</IgrColumn>
<IgrColumn
field="Fax"
dataType="string"
sortable={true}>
sortable={true}
disableHiding={true}>
</IgrColumn>
<IgrColumn
field="PostalCode"
dataType="string"
sortable={true}>
sortable={true}
disableHiding={true}>
</IgrColumn>
<IgrColumn
field="Phone"
dataType="string"
sortable={true}>
sortable={true}
disableHiding={true}>
</IgrColumn>
</IgrTreeGrid>
</div>
Expand Down