Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
60 commits
Select commit Hold shift + click to select a range
f7cd6d0
refactor(cell-merging): change data for hgrid custom strategy sample
IMinchev64 Oct 31, 2025
2db0e24
fix(cell-merging): fix child grid not loading data in hgrid sample
IMinchev64 Oct 31, 2025
5b8ce3d
refactor(row-drag-base): change tgrid and hgrid samples to mimic angu…
IMinchev64 Nov 4, 2025
9e290de
fix(row-drag-base): change sizings so samples fit in iframes
IMinchev64 Nov 4, 2025
798a508
fix(text-area): add gap to resize sample (#971)
RivaIvanova Nov 27, 2025
1cc6b45
refactor(grids): change button text in column pinning both side samples
IMinchev64 Nov 27, 2025
702d2e7
fix(calendar-formatting): set radio value to state (#977)
ddaribo Dec 1, 2025
0a4b89a
Add handleChipRemove for all chip samples (#980)
MonikaKirkova Dec 2, 2025
2b020b9
Adding changes from build igniteui-xplat-examples-output+PRs_2025.12.5.2
Dec 5, 2025
e0c5b36
Adding changes from build igniteui-xplat-examples-output+PRs_2025.12.…
dkamburov Dec 5, 2025
ec07b19
CDN update (#986)
HUSSAR-mtrela Dec 5, 2025
106e017
Adding changes from build igniteui-xplat-examples-output+PRs_2025.12.…
azure-pipelines[bot] Dec 6, 2025
7dcee4e
CDN improvements (#988)
HUSSAR-mtrela Dec 8, 2025
e51b42d
CDN improvements (#989)
HUSSAR-mtrela Dec 9, 2025
09c73ff
19.3.1-beta.0
mddifilippo89 Dec 9, 2025
e114d85
Merge pull request #990 from IgniteUI/mdd-dec25-sr-19.3.1-beta0
IGvaleries Dec 9, 2025
a0766b0
mdd-update-19.3.1 (#991)
mddifilippo89 Dec 10, 2025
3138f0c
Merge branch 'master' into vnext
HUSSAR-mtrela Dec 11, 2025
ddaa62c
Update package-lock.json
HUSSAR-mtrela Dec 11, 2025
4f0c175
feat(grid-lite): update styling sample to use sass theme
didimmova Dec 12, 2025
c304b3c
chore(samples): fix sample not working when run from browser
didimmova Dec 12, 2025
9da0856
Merge branch 'vnext' into iminchev/hgrid-cell-merge-data
MarielaTihova Dec 18, 2025
dd6cb03
Merge branch 'vnext' into iminchev/pinning-both-sides-buttons
MarielaTihova Dec 18, 2025
c5e4127
Merge branch 'vnext' into iminchev/row-drag
MarielaTihova Dec 18, 2025
e84ca47
Merge pull request #950 from IgniteUI/iminchev/hgrid-cell-merge-data
dkamburov Dec 19, 2025
fd2e9d2
Merge pull request #973 from IgniteUI/iminchev/pinning-both-sides-but…
dkamburov Dec 19, 2025
3a5d9ed
Merge pull request #951 from IgniteUI/iminchev/row-drag
dkamburov Dec 19, 2025
b2bac14
fix(samples): added grid sample and fixed tgrid's data
tishko0 Jan 11, 2026
8e5fb8e
Adding changes from build igniteui-xplat-examples-output+PRs_2026.1.6…
azure-pipelines[bot] Jan 12, 2026
27dfeaa
chore(*): Bump up igniteui-react-grids to get latest fixes for templa…
MayaKirova Jan 13, 2026
6ae44e5
Merge branch 'vnext' into didimmova/update-grid-lite-styling-sample
simeonoff Jan 19, 2026
ddd0a0b
Merge pull request #993 from IgniteUI/didimmova/update-grid-lite-styl…
simeonoff Jan 19, 2026
f8175fc
Adding changes from build igniteui-xplat-examples-output+PRs_2026.1.1…
azure-pipelines[bot] Jan 21, 2026
718e5e7
fix(sample): clear pin position before pinning to make sure column pi…
tishko0 Jan 26, 2026
0782131
feat(tabs): Add styling sample (#1013)
MarielaTihova Jan 28, 2026
c1b0412
feat(badge): add a styling sample (#1019)
MarielaTihova Jan 28, 2026
6439e5c
feat(tree): Add a styling sample (#1014)
MarielaTihova Jan 28, 2026
dd2c360
feat(date-time-input): Add a styling sample (#1015)
MarielaTihova Jan 28, 2026
95453fb
Add a styling sample for Checkbox (#1018)
MarielaTihova Jan 29, 2026
962377f
Add Styling sample fo Switch (#1012)
MarielaTihova Jan 29, 2026
05ed645
Merge branch 'vnext' into ttonev/toolbar-loading-indicator-samples
tishko0 Jan 30, 2026
c69a991
Fix interactive part of the Circular Progress sample (#1020)
MarielaTihova Jan 30, 2026
caac521
chore: update react packages to 19.3.2
dkamburov Feb 3, 2026
1a02f37
chore: update react packages to 19.3.2 (#1024)
dkamburov Feb 3, 2026
3d77ddb
fix(grid-data-exporting-indicator): refactored code to use React stat…
MarielaTihova Feb 11, 2026
e6f2e7e
fix(treeGrid-data-exporting-indicator): refactored code to use React …
MarielaTihova Feb 11, 2026
f671402
Merge branch 'vnext' into ttonev/toolbar-loading-indicator-samples
tishko0 Feb 12, 2026
ec4ab8a
fix(samples): data id fix and some code cleaning
tishko0 Feb 12, 2026
ef60402
Migrate Grid Lite samples to v0.4.0 declarative column API with funct…
Copilot Feb 19, 2026
77800e8
chore: bump react grids to 19.5.0-rc.0 (#1037)
dkamburov Feb 23, 2026
a852e40
chore: resolve version mismatches (#1038)
dkamburov Feb 23, 2026
269571d
chore: use sass instead of sass-embed - build error (#1039)
dkamburov Feb 24, 2026
65d219b
fix(sample): Remove div with no size, since it shrinks the pivot.
MayaKirova Feb 24, 2026
4470000
fix(sample): Remove div with no size, since it shrinks the pivot. (#1…
dkamburov Feb 25, 2026
836f37e
Modify toolbar export options for the grids (#1004)
mtsvyatkova Feb 26, 2026
c18c7bb
Merge branch 'vnext' into ttonev/toolbar-loading-indicator-samples
ChronosSF Feb 26, 2026
7fbf47b
Merge pull request #1001 from IgniteUI/ttonev/toolbar-loading-indicat…
ChronosSF Feb 26, 2026
8d0e02d
Add Query Builder React samples (Overview and Template) (#1023)
Copilot Feb 27, 2026
e0149c1
Merge pull request #1048 from IgniteUI/gedinakova/update-to-19.5.0
gedinakova Feb 27, 2026
7406180
Added styling to people's images causing grid rows to be larger (#1046)
tishko0 Feb 27, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

<div style="display: flex; flex-flow: row; font-family: 'Titillium Web'">
<img style="border-radius: 0.25rem" alt="ignite-ui" src="https://raw.githubusercontent.com/IgniteUI/igniteui-xplat-docs/vnext/doc/en/images/readme/ig-banner.png"/>
<img style="border-radius: 0.25rem" alt="ignite-ui" src="https://dl.infragistics.com/x/img/browsers/ig-banner.png"/>
</div>

# Examples of Ignite UI for React Components
Expand Down
2 changes: 1 addition & 1 deletion browser/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

<div style="display: flex; flex-flow: row; font-family: 'Titillium Web'">
<img style="border-radius: 0.25rem" alt="ignite-ui" src="https://raw.githubusercontent.com/IgniteUI/igniteui-xplat-docs/vnext/doc/en/images/readme/ig-banner.png"/>
<img style="border-radius: 0.25rem" alt="ignite-ui" src="https://dl.infragistics.com/x/img/browsers/ig-banner.png"/>
</div>

# Browser App for React Components
Expand Down
8 changes: 4 additions & 4 deletions browser/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
<meta http-equiv='expires' content='0'>
<meta http-equiv='pragma' content='no-cache'>

<link rel="apple-touch-icon" href="logo192.png" />
<link rel="shortcut icon" href="logo192.png">
<link rel="apple-touch-icon" href="https://dl.infragistics.com/x/img/browsers/react.png" />
<link rel="shortcut icon" href="https://dl.infragistics.com/x/img/browsers/react.png" >
<base href="/react-demos/">

<!-- before -->
Expand All @@ -24,8 +24,8 @@
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
-->
<title>Samples Browser | IgniteUI for React | Infragistics</title>
<link href="https://static.infragistics.com/xplatform/css/samples/shared.v8.css" rel="stylesheet" />
<link href="https://static.infragistics.com/xplatform/css/samples/custom-legend.css" rel="stylesheet" type="text/css" />
<link href="https://dl.infragistics.com/x/css/samples/shared.v8.css" rel="stylesheet" />
<link href="https://dl.infragistics.com/x/css/samples/custom-legend.css" rel="stylesheet" type="text/css" />
<!-- <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet" > -->
<!-- <link href="https://fonts.googleapis.com/css?family=Kanit&display=swap" rel="stylesheet"> -->
<!-- <link href='https://fonts.googleapis.com/css?family=Titillium Web' rel='stylesheet'> -->
Expand Down
4,183 changes: 2,898 additions & 1,285 deletions browser/package-lock.json

Large diffs are not rendered by default.

36 changes: 19 additions & 17 deletions browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,25 +24,26 @@
"dompurify": "^3.3.0",
"file-saver": "1.3.8",
"igniteui-dockmanager": "^1.17.0",
"igniteui-grid-lite": "^0.0.1",
"igniteui-react": "^19.4.0",
"igniteui-react-charts": "19.3.0",
"igniteui-react-core": "19.3.0",
"igniteui-react-dashboards": "19.3.0",
"igniteui-react-data-grids": "19.3.0",
"igniteui-react-datasources": "19.3.0",
"igniteui-grid-lite": "~0.6.0",
"igniteui-react": "^19.5.0",
"igniteui-react-charts": "19.3.2",
"igniteui-react-core": "19.3.2",
"igniteui-react-dashboards": "19.3.2",
"igniteui-react-data-grids": "19.3.2",
"igniteui-react-datasources": "19.3.2",
"igniteui-react-dockmanager": "^19.4.0",
"igniteui-react-excel": "19.3.0",
"igniteui-react-gauges": "19.3.0",
"igniteui-react-grids": "^19.4.0",
"igniteui-react-inputs": "19.3.0",
"igniteui-react-layouts": "19.3.0",
"igniteui-react-maps": "19.3.0",
"igniteui-react-spreadsheet": "19.3.0",
"igniteui-react-spreadsheet-chart-adapter": "19.3.0",
"igniteui-webcomponents": "^6.3.0",
"igniteui-react-excel": "19.3.2",
"igniteui-react-gauges": "19.3.2",
"igniteui-react-grids": "^19.5.0",
"igniteui-react-inputs": "19.3.2",
"igniteui-react-layouts": "19.3.2",
"igniteui-react-maps": "19.3.2",
"igniteui-react-spreadsheet": "19.3.2",
"igniteui-react-spreadsheet-chart-adapter": "19.3.2",
"igniteui-theming": "^24.0.2",
"igniteui-webcomponents": "^7.0.0",
"lit-html": "^3.2.0",
"marked": "^16.4.1",
"marked": "^17.0.0",
"marked-shiki": "^1.2.1",
"prop-types": "15.7.2",
"react": "^19.2.0",
Expand Down Expand Up @@ -96,6 +97,7 @@
"remark": "^14.0.2",
"remark-frontmatter": "^2.0.0",
"run-sequence": "^2.2.1",
"sass": "^1.84.0",
"ts-loader": "^9.5.4",
"ts-node": "^10.9.2",
"typescript": "^4.8.4",
Expand Down
2 changes: 1 addition & 1 deletion browser/public/meta.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"version":"23.2.915","date":"2025-11-25 10:38:39","note":"this file is auto-generated"}
{"version":"23.2.915","date":"2026-02-02 17:54:15","note":"this file is auto-generated"}
7 changes: 7 additions & 0 deletions browser/src/index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
img[src*="dl.infragistics.com/x/img/people"] {
width: 62px;
height: 62px;
object-fit: cover;
display: block;
margin: auto;
}
2 changes: 1 addition & 1 deletion browser/src/navigation/SamplesBrowser.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"version":"23.2.915","date":"2025-11-25 10:38:39","note":"this file is auto-generated"}
{"version":"23.2.915","date":"2026-02-02 17:54:15","note":"this file is auto-generated"}
32 changes: 16 additions & 16 deletions browser/tasks/gulp-samples.js
Original file line number Diff line number Diff line change
Expand Up @@ -844,24 +844,24 @@ function updateIG(cb) {
// { name: "igniteui-react-charts", version: "16.16.2" }, // npm
let packageUpgrades = [
// these IG packages are often updated:
{ version: "19.3.0", name: "igniteui-react-core" },
{ version: "19.3.0", name: "igniteui-react-charts" },
{ version: "19.3.0", name: "igniteui-react-excel" },
{ version: "19.3.0", name: "igniteui-react-gauges" },
{ version: "19.3.0", name: "igniteui-react-data-grids" },
{ version: "^19.4.0", name: "igniteui-react-grids" },
{ version: "19.3.0", name: "igniteui-react-inputs" },
{ version: "19.3.0", name: "igniteui-react-layouts" },
{ version: "19.3.0", name: "igniteui-react-maps" },
{ version: "19.3.0", name: "igniteui-react-spreadsheet-chart-adapter" },
{ version: "19.3.0", name: "igniteui-react-spreadsheet" },
{ version: "19.3.0", name: "igniteui-react-datasources" },
{ version: "19.3.0", name: "igniteui-react-dashboards" },
{ version: "^19.4.0", name: "igniteui-react" },
{ version: "19.3.2", name: "igniteui-react-core" },
{ version: "19.3.2", name: "igniteui-react-charts" },
{ version: "19.3.2", name: "igniteui-react-excel" },
{ version: "19.3.2", name: "igniteui-react-gauges" },
{ version: "19.3.2", name: "igniteui-react-data-grids" },
{ version: "^19.5.0", name: "igniteui-react-grids" },
{ version: "19.3.2", name: "igniteui-react-inputs" },
{ version: "19.3.2", name: "igniteui-react-layouts" },
{ version: "19.3.2", name: "igniteui-react-maps" },
{ version: "19.3.2", name: "igniteui-react-spreadsheet-chart-adapter" },
{ version: "19.3.2", name: "igniteui-react-spreadsheet" },
{ version: "19.3.2", name: "igniteui-react-datasources" },
{ version: "19.3.2", name: "igniteui-react-dashboards" },
{ version: "^19.5.0", name: "igniteui-react" },
// these IG packages are sometimes updated:
{ version: "^6.3.0", name: "igniteui-webcomponents" },
{ version: "^7.0.0", name: "igniteui-webcomponents" },
{ version: "^19.4.0", name: "igniteui-react-dockmanager" },
{ version: "^0.0.1", name: "igniteui-grid-lite" },
{ version: "~0.6.0", name: "igniteui-grid-lite" },
// main react packages
{ version: "^19.2.0", name: "react" },
{ version: "^19.2.0", name: "react-dom" },
Expand Down
6 changes: 3 additions & 3 deletions browser/templates/sample/ReadMe-dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ You can preview example of this {PlatformName} application on CodeSandbox by cli
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<body>
<a target="_blank" href="{SandboxUrlEdit}" rel="noopener noreferrer">
<img height="40px" style="border-radius: 0.25rem" alt="Edit on CodeSandbox" src="https://static.infragistics.com/xplatform/images/sandbox/code.png"/>
<img height="40px" style="border-radius: 0.25rem" alt="Edit on CodeSandbox" src="https://dl.infragistics.com/x/img/sandbox/code.png"/>
</a>
</body>
</html>
Expand Down Expand Up @@ -75,11 +75,11 @@ href="https://codesandbox.io/s/github/IgniteUI/igniteui-react-examples/tree/mast
</a> -->
<!-- <a target="_blank" style="margin-left: 0.5rem"
href="{SandboxUrlView}">
<img height="40px" style="border-radius: 5px" alt="View on CodeSandbox" src="https://static.infragistics.com/xplatform/images/sandbox/view.png"/>
<img height="40px" style="border-radius: 5px" alt="View on CodeSandbox" src="https://dl.infragistics.com/x/img/sandbox/view.png"/>
</a> -->
<!-- <a target="_blank"
href="https://codesandbox.io/embed/github/IgniteUI/igniteui-react-examples/tree/master/samples/maps/geo-map/binding-csv-points?fontsize=14&hidenavigation=1&theme=dark&view=preview">
<img alt="View on CodeSandbox" src="https://static.infragistics.com/xplatform/images/sandbox/view.png"/>
<img alt="View on CodeSandbox" src="https://dl.infragistics.com/x/img/sandbox/view.png"/>
</a>
https://codesandbox.io/embed/react-treemap-overview-rtb45
https://codesandbox.io/static/img/play-codesandbox.svg
Expand Down
8 changes: 4 additions & 4 deletions browser/templates/sample/ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@ This folder contains implementation of {PlatformName} application with example o
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<body>
<a target="_blank" href="https://www.infragistics.com/products/ignite-ui-react/react/components/general-getting-started.html" rel="noopener noreferrer">
<img height="40px" style="border-radius: 0rem" alt="View Docs" src="https://github.com/IgniteUI/igniteui-blazor-examples/raw/vnext/templates/sample/images/button-docs.png"/>
<img height="40px" style="border-radius: 0rem" alt="View Docs" src="https://dl.infragistics.com/x/img/browsers/button-docs.png"/>
</a>
<a target="_blank" href="./src/index.tsx" rel="noopener noreferrer">
<img height="40px" style="border-radius: 0rem; max-width: 100%;" alt="View Code" src="https://github.com/IgniteUI/igniteui-blazor-examples/raw/vnext/templates/sample/images/button-code.png"/>
<img height="40px" style="border-radius: 0rem; max-width: 100%;" alt="View Code" src="https://dl.infragistics.com/x/img/browsers/button-code.png"/>
</a>
<a target="_blank" href="https://www.infragistics.com/react-demos/samples{SampleRoute}" rel="noopener noreferrer">
<img height="40px" style="border-radius: 0rem; max-width: 100%;" alt="Run Sample" src="https://github.com/IgniteUI/igniteui-blazor-examples/raw/vnext/templates/sample/images/button-run.png"/>
<img height="40px" style="border-radius: 0rem; max-width: 100%;" alt="Run Sample" src="https://dl.infragistics.com/x/img/browsers/button-run.png"/>
</a>
<a target="_blank" href="{SandboxUrlEdit}" rel="noopener noreferrer">
<img height="40px" style="border-radius: 0rem; max-width: 100%;" alt="Run Sample" src="https://github.com/IgniteUI/igniteui-blazor-examples/raw/vnext/templates/sample/images/button-sandbox.png"/>
<img height="40px" style="border-radius: 0rem; max-width: 100%;" alt="Run Sample" src="https://dl.infragistics.com/x/img/browsers/button-sandbox.png"/>
</a>
</body>
</html>
Expand Down
4 changes: 2 additions & 2 deletions browser/templates/sample/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
<title>SampleName | Infragistics</title>
<!--
manifest.json provides metadata used when your web app is added to the
homescreen on Android. See https://developers.google.com/web/fundamentals/engage-and-retain/web-app-manifest/
home screen on Android. See https://developers.google.com/web/fundamentals/engage-and-retain/web-app-manifest/
-->
<!-- <link rel="manifest" href="manifest.json"> -->
<!-- <link rel="shortcut icon" href="/images/favicon.svg" type="image/x-icon"> -->
<!-- <link rel="shortcut icon" href="https://dl.infragistics.com/x/img/browsers/react.png" > -->

<!--
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet" >
Expand Down
2 changes: 1 addition & 1 deletion browser/templates/shared/src/CountryTreeData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ export class CountryTreeData {
data.push({ Parent: "Europe", Name: "Channel Islands", Pop: 153876 });
data.push({ Parent: "Europe", Name: "Croatia", Pop: 4403000 });
data.push({ Parent: "Europe", Name: "Cyprus", Pop: 1116564 });
data.push({ Parent: "Europe", Name: "Czech Republic", Pop: 10496088 });
data.push({ Parent: "Europe", Name: "Czechia", Pop: 10496088 });
data.push({ Parent: "Europe", Name: "Denmark", Pop: 5570572 });
data.push({ Parent: "Europe", Name: "Estonia", Pop: 1339928 });
data.push({ Parent: "Europe", Name: "Finland", Pop: 5388272 });
Expand Down
30 changes: 15 additions & 15 deletions browser/templates/shared/src/DataGridSharedData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ export class DataGridSharedData {
}

const employees: any[] = [];
let maleCount: number = 0;
let femaleCount: number = 0;
let maleCount: number = 10;
let femaleCount: number = 10;
for (let i = 0; i < count; i++) {
const age: number = Math.round(this.getRandomNumber(20, 40));
const gender: string = this.getRandomGender();
Expand All @@ -25,15 +25,15 @@ export class DataGridSharedData {

if (gender === "male") {
maleCount++;
if (maleCount > 26) {
maleCount = 1;
if (maleCount > 39) {
maleCount = 10;
}
photoPath = this.getPhotoMale(maleCount);
}
else {
femaleCount++;
if (femaleCount > 24) {
femaleCount = 1;
if (femaleCount > 39) {
femaleCount = 10;
}
photoPath = this.getPhotoFemale(femaleCount);
}
Expand Down Expand Up @@ -98,7 +98,7 @@ export class DataGridSharedData {
"Samsung HDD", "WD HDD", "Seagate HDD", "Intel HDD",
"Samsung SSD", "WD SSD", "Seagate SSD", "Intel SSD",
"Samsung Monitor", "Asus Monitor", "LG Monitor", "HP Monitor" ];
const countries: string[] = ["USA", "UK", "France", "Canada", "Poland", "Japan", "Germany"];
const countries: string[] = ["United-States", "United-Kingdom", "France", "Canada", "Poland", "Japan", "Germany"];
const status: string[] = ["Packing", "Shipped", "Delivered"];
const sales: any[] = [];

Expand Down Expand Up @@ -135,7 +135,7 @@ export class DataGridSharedData {
const houses: any[] = [];
const property: string[] = [ "Townhouse", "Single", "Condo", "Villa"];
const emails: string[] = [ "estates.com", "remax.com", "zillow.com", "realtor.com", "coldwell.com"];
const countries: string[] = ["USA", "UK", "France", "Canada", "Poland", "Japan", "Germany"];
const countries: string[] = ["United-States", "United-Kingdom", "France", "Canada", "Poland", "Japan", "Germany"];

for (let i = 0; i < count; i++) {
const year: number = this.getRandomNumber(1950, 2015);
Expand Down Expand Up @@ -180,7 +180,7 @@ export class DataGridSharedData {
private static maleNames: string[] = ["Kyle", "Oscar", "Ralph", "Mike", "Bill", "Frank", "Howard", "Jack", "Larry", "Pete", "Steve", "Vince", "Mark", "Alex", "Max", "Brian", "Chris", "Andrew", "Martin", "Mike", "Steve", "Glenn", "Bruce"];
private static femaleNames: string[] = ["Gina", "Irene", "Katie", "Brenda", "Casey", "Fiona", "Holly", "Kate", "Liz", "Pamela", "Nelly", "Marisa", "Monica", "Anna", "Jessica", "Sofia", "Isabella", "Margo", "Jane", "Audrey", "Sally", "Melanie", "Greta", "Aurora", "Sally"];
private static lastNames: string[] = ["Adams", "Crowley", "Ellis", "Martinez", "Irvine", "Maxwell", "Clark", "Owens", "Rooney", "Lincoln", "Thomas", "Spacey", "MOrgan", "King", "Newton", "Fitzgerald", "Holmes", "Jefferson", "Landry", "Berry", "Perez", "Spencer", "Starr", "Carter", "Edwards", "Stark", "Johnson", "Fitz", "Chief", "Blanc", "Perry", "Stone", "Williams", "Lane", "Jobs", "Adams", "Power", "Tesla"];
private static countries: string[] = ["USA", "UK", "France", "Canada", "Poland"];
private static countries: string[] = ["United-States", "United-Kingdom", "France", "Canada", "Poland"];
private static citiesUS: string[] = ["New York", "Los Angeles", "Miami", "San Francisco", "San Diego", "Las Vegas"];
private static citiesUK: string[] = ["London", "Liverpool", "Manchester"];
private static citiesFR: string[] = ["Paris", "Marseille", "Lyon"];
Expand Down Expand Up @@ -236,13 +236,13 @@ export class DataGridSharedData {
return this.getRandomItem(this.citiesFR);
} else if (country === "Poland") {
return this.getRandomItem(this.citiesPL);
} else if (country === "USA") {
} else if (country === "United-States") {
return this.getRandomItem(this.citiesUS);
} else if (country === "Japan") {
return this.getRandomItem(this.citiesJP);
} else if (country === "Germany") {
return this.getRandomItem(this.citiesGR);
} else { // if (country === "United Kingdom") {
} else { // if (country === "United-Kingdom") {
return this.getRandomItem(this.citiesUK);
}
}
Expand All @@ -263,19 +263,19 @@ export class DataGridSharedData {
}

private static getPhotoMale(id: number): string {
return 'https://static.infragistics.com/xplatform/images/people//GUY' + this.pad(id, 2) + '.png';
return 'https://dl.infragistics.com/x/img/people/men/' + this.pad(id, 2) + '.png';
}

private static getPhotoFemale(id: number): string {
return 'https://static.infragistics.com/xplatform/images/people/GIRL' + this.pad(id, 2) + '.png';
return 'https://dl.infragistics.com/x/img/people/women/' + this.pad(id, 2) + '.png';
}

private static getGenderPhoto(gender: string): string {
return 'https://static.infragistics.com/xplatform/images/genders/' + gender + '.png';
return 'https://dl.infragistics.com/x/img/genders/' + gender + '.png';
}

private static getCountryFlag(country: string): string {
return 'https://static.infragistics.com/xplatform/images/flags/' + country + '.png';
return 'https://dl.infragistics.com/x/img/flags/' + country + '.png';
}

private static pad(num: number, size: number): string{
Expand Down
Loading
Loading