From 69a06208be7b604f84a53c4b77f3c8bea9f7cbea Mon Sep 17 00:00:00 2001 From: Build Automaion Date: Wed, 29 Nov 2023 11:00:13 +0530 Subject: [PATCH] Integrated latest changes at 11-29-2023 10:30:12 AM --- .../data/getting-started-cs33/index.ts | 2 +- .../diagram/getting-started-cs4/index.js | 10 +- .../gantt/actionfailure-cs1/index.js | 2 +- .../gantt/global-cs2/gregorian.json | 501 ++++++++ .../code-snippet/gantt/global-cs2/index.js | 19 +- .../gantt/global-cs2/js/index.html | 2 + .../code-snippet/gantt/global-cs2/number.json | 155 +++ .../code-snippet/gantt/global-cs3/index.js | 2 +- .../gantt/predecessor-cs6/js/index.html | 1 + .../gantt/sortingCustomColumns-cs1/index.js | 4 +- .../code-snippet/gantt/timezone-cs2/index.js | 4 +- .../treegrid/add-params-cs1/ts/index.html | 8 +- .../treegrid/copy-method-cs1/index.ts | 3 +- .../toolbar-template-cs1/datasource.ts | 531 --------- .../toolbar-template-cs1/es5-datasource.js | 1011 ----------------- .../treegrid/toolbar-template-cs1/index.css | 14 - .../treegrid/toolbar-template-cs1/index.js | 0 .../treegrid/toolbar-template-cs1/index.ts | 38 - .../toolbar-template-cs1/js/index.html | 50 - .../toolbar-template-cs1/systemjs.config.js | 46 - .../toolbar-template-cs1/ts/index.html | 44 - 21 files changed, 682 insertions(+), 1765 deletions(-) create mode 100644 ej2-javascript/code-snippet/gantt/global-cs2/gregorian.json create mode 100644 ej2-javascript/code-snippet/gantt/global-cs2/number.json delete mode 100644 ej2-javascript/code-snippet/treegrid/toolbar-template-cs1/datasource.ts delete mode 100644 ej2-javascript/code-snippet/treegrid/toolbar-template-cs1/es5-datasource.js delete mode 100644 ej2-javascript/code-snippet/treegrid/toolbar-template-cs1/index.css delete mode 100644 ej2-javascript/code-snippet/treegrid/toolbar-template-cs1/index.js delete mode 100644 ej2-javascript/code-snippet/treegrid/toolbar-template-cs1/index.ts delete mode 100644 ej2-javascript/code-snippet/treegrid/toolbar-template-cs1/js/index.html delete mode 100644 ej2-javascript/code-snippet/treegrid/toolbar-template-cs1/systemjs.config.js delete mode 100644 ej2-javascript/code-snippet/treegrid/toolbar-template-cs1/ts/index.html diff --git a/ej2-javascript/code-snippet/data/getting-started-cs33/index.ts b/ej2-javascript/code-snippet/data/getting-started-cs33/index.ts index 21b5dace5..f4f79d9c6 100644 --- a/ej2-javascript/code-snippet/data/getting-started-cs33/index.ts +++ b/ej2-javascript/code-snippet/data/getting-started-cs33/index.ts @@ -3,7 +3,7 @@ import { Grid } from '@syncfusion/ej2-grids'; import { DataManager } from '@syncfusion/ej2-data'; -const SERVICE_URI: string = 'https://js.syncfusion.com/demos/ejServices/Wcf/Northwind.svc/Orders/?$top=20'; +const SERVICE_URI: string = 'https://services.syncfusion.com/js/production/api/Orders'; let grid: Grid = new Grid({ dataSource: new DataManager({ url: SERVICE_URI }), diff --git a/ej2-javascript/code-snippet/diagram/getting-started-cs4/index.js b/ej2-javascript/code-snippet/diagram/getting-started-cs4/index.js index 00a24aa39..e1244e9f0 100644 --- a/ej2-javascript/code-snippet/diagram/getting-started-cs4/index.js +++ b/ej2-javascript/code-snippet/diagram/getting-started-cs4/index.js @@ -18,13 +18,19 @@ var connector = [ { id: 'connector4', sourceID: 'Condition', targetID: 'End', annotations: [{ content: 'No' }], type: 'Orthogonal', - segments: [{ length: 50, direction: 'Bottom' }] + segments: [ + { type: 'Orthogonal', length: 30, direction: "Right" }, + { type: 'Orthogonal', length: 300, direction: "Bottom" } + ] }, { id: 'connector5', sourceID: 'Print', targetID: 'Increment' }, { id: 'connector6', sourceID: 'Increment', targetID: 'Condition', type: 'Orthogonal', - segments: [{ length: 50, direction: 'Bottom' }] + segments: [ + { type: 'Orthogonal', length: 30, direction: "Left" }, + { type: 'Orthogonal', length: 200, direction: "Top" } + ] } ]; diff --git a/ej2-javascript/code-snippet/gantt/actionfailure-cs1/index.js b/ej2-javascript/code-snippet/gantt/actionfailure-cs1/index.js index 5a3ca5582..29e3fb557 100644 --- a/ej2-javascript/code-snippet/gantt/actionfailure-cs1/index.js +++ b/ej2-javascript/code-snippet/gantt/actionfailure-cs1/index.js @@ -16,7 +16,7 @@ var gantt = new ej.gantt.Gantt({ parentID: 'parentID', }, actionFailure: (e) => { - let span: HTMLElement = document.createElement('span'); + let span = document.createElement('span'); gantt.element.parentNode.insertBefore(span, gantt.element); span.style.color = '#FF0000' span.innerHTML = 'Server exception: 404 Not found'; diff --git a/ej2-javascript/code-snippet/gantt/global-cs2/gregorian.json b/ej2-javascript/code-snippet/gantt/global-cs2/gregorian.json new file mode 100644 index 000000000..3ca3f059f --- /dev/null +++ b/ej2-javascript/code-snippet/gantt/global-cs2/gregorian.json @@ -0,0 +1,501 @@ +var loaderData = { + "main": { + "de-DE": { + "identity": { + "version": { + "_number": "$Revision: 12879 $", + "_cldrVersion": "30.0.3" + }, + "language": "de" + }, + "dates": { + "calendars": { + "gregorian": { + "months": { + "format": { + "abbreviated": { + "1": "Jan.", + "2": "Feb.", + "3": "März", + "4": "Apr.", + "5": "Mai", + "6": "Juni", + "7": "Juli", + "8": "Aug.", + "9": "Sep.", + "10": "Okt.", + "11": "Nov.", + "12": "Dez." + }, + "narrow": { + "1": "J", + "2": "F", + "3": "M", + "4": "A", + "5": "M", + "6": "J", + "7": "J", + "8": "A", + "9": "S", + "10": "O", + "11": "N", + "12": "D" + }, + "wide": { + "1": "Januar", + "2": "Februar", + "3": "März", + "4": "April", + "5": "Mai", + "6": "Juni", + "7": "Juli", + "8": "August", + "9": "September", + "10": "Oktober", + "11": "November", + "12": "Dezember" + } + }, + "stand-alone": { + "abbreviated": { + "1": "Jan", + "2": "Feb", + "3": "Mär", + "4": "Apr", + "5": "Mai", + "6": "Jun", + "7": "Jul", + "8": "Aug", + "9": "Sep", + "10": "Okt", + "11": "Nov", + "12": "Dez" + }, + "narrow": { + "1": "J", + "2": "F", + "3": "M", + "4": "A", + "5": "M", + "6": "J", + "7": "J", + "8": "A", + "9": "S", + "10": "O", + "11": "N", + "12": "D" + }, + "wide": { + "1": "Januar", + "2": "Februar", + "3": "März", + "4": "April", + "5": "Mai", + "6": "Juni", + "7": "Juli", + "8": "August", + "9": "September", + "10": "Oktober", + "11": "November", + "12": "Dezember" + } + } + }, + "days": { + "format": { + "abbreviated": { + "sun": "So.", + "mon": "Mo.", + "tue": "Di.", + "wed": "Mi.", + "thu": "Do.", + "fri": "Fr.", + "sat": "Sa." + }, + "narrow": { + "sun": "S", + "mon": "M", + "tue": "D", + "wed": "M", + "thu": "D", + "fri": "F", + "sat": "S" + }, + "short": { + "sun": "So.", + "mon": "Mo.", + "tue": "Di.", + "wed": "Mi.", + "thu": "Do.", + "fri": "Fr.", + "sat": "Sa." + }, + "wide": { + "sun": "Sonntag", + "mon": "Montag", + "tue": "Dienstag", + "wed": "Mittwoch", + "thu": "Donnerstag", + "fri": "Freitag", + "sat": "Samstag" + } + }, + "stand-alone": { + "abbreviated": { + "sun": "So", + "mon": "Mo", + "tue": "Di", + "wed": "Mi", + "thu": "Do", + "fri": "Fr", + "sat": "Sa" + }, + "narrow": { + "sun": "S", + "mon": "M", + "tue": "D", + "wed": "M", + "thu": "D", + "fri": "F", + "sat": "S" + }, + "short": { + "sun": "So.", + "mon": "Mo.", + "tue": "Di.", + "wed": "Mi.", + "thu": "Do.", + "fri": "Fr.", + "sat": "Sa." + }, + "wide": { + "sun": "Sonntag", + "mon": "Montag", + "tue": "Dienstag", + "wed": "Mittwoch", + "thu": "Donnerstag", + "fri": "Freitag", + "sat": "Samstag" + } + } + }, + "quarters": { + "format": { + "abbreviated": { + "1": "Q1", + "2": "Q2", + "3": "Q3", + "4": "Q4" + }, + "narrow": { + "1": "1", + "2": "2", + "3": "3", + "4": "4" + }, + "wide": { + "1": "1. Quartal", + "2": "2. Quartal", + "3": "3. Quartal", + "4": "4. Quartal" + } + }, + "stand-alone": { + "abbreviated": { + "1": "Q1", + "2": "Q2", + "3": "Q3", + "4": "Q4" + }, + "narrow": { + "1": "1", + "2": "2", + "3": "3", + "4": "4" + }, + "wide": { + "1": "1. Quartal", + "2": "2. Quartal", + "3": "3. Quartal", + "4": "4. Quartal" + } + } + }, + "dayPeriods": { + "format": { + "abbreviated": { + "midnight": "Mitternacht", + "am": "vorm.", + "pm": "nachm.", + "morning1": "morgens", + "morning2": "vormittags", + "afternoon1": "mittags", + "afternoon2": "nachmittags", + "evening1": "abends", + "night1": "nachts" + }, + "narrow": { + "midnight": "Mitternacht", + "am": "vm.", + "pm": "nm.", + "morning1": "morgens", + "morning2": "vormittags", + "afternoon1": "mittags", + "afternoon2": "nachmittags", + "evening1": "abends", + "night1": "nachts" + }, + "wide": { + "midnight": "Mitternacht", + "am": "vorm.", + "pm": "nachm.", + "morning1": "morgens", + "morning2": "vormittags", + "afternoon1": "mittags", + "afternoon2": "nachmittags", + "evening1": "abends", + "night1": "nachts" + } + }, + "stand-alone": { + "abbreviated": { + "midnight": "Mitternacht", + "am": "vorm.", + "pm": "nachm.", + "morning1": "Morgen", + "morning2": "Vormittag", + "afternoon1": "Mittag", + "afternoon2": "Nachmittag", + "evening1": "Abend", + "night1": "Nacht" + }, + "narrow": { + "midnight": "Mitternacht", + "am": "vorm.", + "pm": "nachm.", + "morning1": "Morgen", + "morning2": "Vormittag", + "afternoon1": "Mittag", + "afternoon2": "Nachmittag", + "evening1": "Abend", + "night1": "Nacht" + }, + "wide": { + "midnight": "Mitternacht", + "am": "vorm.", + "pm": "nachm.", + "morning1": "Morgen", + "morning2": "Vormittag", + "afternoon1": "Mittag", + "afternoon2": "Nachmittag", + "evening1": "Abend", + "night1": "Nacht" + } + } + }, + "eras": { + "eraNames": { + "0": "v. Chr.", + "0-alt-variant": "vor unserer Zeitrechnung", + "1": "n. Chr.", + "1-alt-variant": "unserer Zeitrechnung" + }, + "eraAbbr": { + "0": "v. Chr.", + "0-alt-variant": "v. u. Z.", + "1": "n. Chr.", + "1-alt-variant": "u. Z." + }, + "eraNarrow": { + "0": "v. Chr.", + "0-alt-variant": "v. u. Z.", + "1": "n. Chr.", + "1-alt-variant": "u. Z." + } + }, + "dateFormats": { + "full": "EEEE, d. MMMM y", + "long": "d. MMMM y", + "medium": "dd.MM.y", + "short": "dd.MM.yy" + }, + "timeFormats": { + "full": "HH:mm:ss zzzz", + "long": "HH:mm:ss z", + "medium": "HH:mm:ss", + "short": "HH:mm" + }, + "dateTimeFormats": { + "full": "{1} 'um' {0}", + "long": "{1} 'um' {0}", + "medium": "{1}, {0}", + "short": "{1}, {0}", + "availableFormats": { + "d": "d", + "E": "ccc", + "Ed": "E, d.", + "Ehm": "E h:mm a", + "EHm": "E, HH:mm", + "Ehms": "E, h:mm:ss a", + "EHms": "E, HH:mm:ss", + "Gy": "y G", + "GyMMM": "MMM y G", + "GyMMMd": "d. MMM y G", + "GyMMMEd": "E, d. MMM y G", + "h": "h 'Uhr' a", + "H": "HH 'Uhr'", + "hm": "h:mm a", + "Hm": "HH:mm", + "hms": "h:mm:ss a", + "Hms": "HH:mm:ss", + "hmsv": "h:mm:ss a v", + "Hmsv": "HH:mm:ss v", + "hmv": "h:mm a v", + "Hmv": "HH:mm v", + "M": "L", + "Md": "d.M.", + "MEd": "E, d.M.", + "MMd": "d.MM.", + "MMdd": "dd.MM.", + "MMM": "LLL", + "MMMd": "d. MMM", + "MMMEd": "E, d. MMM", + "MMMMd": "d. MMMM", + "MMMMEd": "E, d. MMMM", + "MMMMW": "'Woche' W 'im' MMM", + "MMMMW": "'Woche' W 'im' MMM", + "ms": "mm:ss", + "y": "y", + "yM": "M.y", + "yMd": "d.M.y", + "yMEd": "E, d.M.y", + "yMM": "MM.y", + "yMMdd": "dd.MM.y", + "yMMM": "MMM y", + "yMMMd": "d. MMM y", + "yMMMEd": "E, d. MMM y", + "yMMMM": "MMMM y", + "yQQQ": "QQQ y", + "yQQQQ": "QQQQ y", + "yw": "'Woche' w 'des' 'Jahres' y", + "yw": "'Woche' w 'des' 'Jahres' y" + }, + "appendItems": { + "Day": "{0} ({2}: {1})", + "Day-Of-Week": "{0} {1}", + "Era": "{1} {0}", + "Hour": "{0} ({2}: {1})", + "Minute": "{0} ({2}: {1})", + "Month": "{0} ({2}: {1})", + "Quarter": "{0} ({2}: {1})", + "Second": "{0} ({2}: {1})", + "Timezone": "{0} {1}", + "Week": "{0} ({2}: {1})", + "Year": "{1} {0}" + }, + "intervalFormats": { + "intervalFormatFallback": "{0} – {1}", + "d": { + "d": "d.–d." + }, + "h": { + "a": "h 'Uhr' a – h 'Uhr' a", + "h": "h – h 'Uhr' a" + }, + "H": { + "H": "HH–HH 'Uhr'" + }, + "hm": { + "a": "h:mm a – h:mm a", + "h": "h:mm–h:mm a", + "m": "h:mm–h:mm a" + }, + "Hm": { + "H": "HH:mm–HH:mm 'Uhr'", + "m": "HH:mm–HH:mm 'Uhr'" + }, + "hmv": { + "a": "h:mm a – h:mm a v", + "h": "h:mm–h:mm a v", + "m": "h:mm–h:mm a v" + }, + "Hmv": { + "H": "HH:mm–HH:mm 'Uhr' v", + "m": "HH:mm–HH:mm 'Uhr' v" + }, + "hv": { + "a": "h a – h a v", + "h": "h–h a v" + }, + "Hv": { + "H": "HH–HH 'Uhr' v" + }, + "M": { + "M": "M.–M." + }, + "Md": { + "d": "dd.MM. – dd.MM.", + "M": "dd.MM. – dd.MM." + }, + "MEd": { + "d": "E, dd.MM. – E, dd.MM.", + "M": "E, dd.MM. – E, dd.MM." + }, + "MMM": { + "M": "MMM–MMM" + }, + "MMMd": { + "d": "d.–d. MMM", + "M": "d. MMM – d. MMM" + }, + "MMMEd": { + "d": "E, d. – E, d. MMM", + "M": "E, d. MMM – E, d. MMM" + }, + "MMMM": { + "M": "LLLL–LLLL" + }, + "y": { + "y": "y–y" + }, + "yM": { + "M": "MM.y – MM.y", + "y": "MM.y – MM.y" + }, + "yMd": { + "d": "dd.MM.y – dd.MM.y", + "M": "dd.MM.y – dd.MM.y", + "y": "dd.MM.y – dd.MM.y" + }, + "yMEd": { + "d": "E, dd.MM.y – E, dd.MM.y", + "M": "E, dd.MM.y – E, dd.MM.y", + "y": "E, dd.MM.y – E, dd.MM.y" + }, + "yMMM": { + "M": "MMM–MMM y", + "y": "MMM y – MMM y" + }, + "yMMMd": { + "d": "d.–d. MMM y", + "M": "d. MMM – d. MMM y", + "y": "d. MMM y – d. MMM y" + }, + "yMMMEd": { + "d": "E, d. – E, d. MMM y", + "M": "E, d. MMM – E, d. MMM y", + "y": "E, d. MMM y – E, d. MMM y" + }, + "yMMMM": { + "M": "MMMM–MMMM y", + "y": "MMMM y – MMMM y" + } + } + } + } + } + } + } + } + } + var loaderJson = JSON.stringify(loaderData); \ No newline at end of file diff --git a/ej2-javascript/code-snippet/gantt/global-cs2/index.js b/ej2-javascript/code-snippet/gantt/global-cs2/index.js index 0ea602617..02598f126 100644 --- a/ej2-javascript/code-snippet/gantt/global-cs2/index.js +++ b/ej2-javascript/code-snippet/gantt/global-cs2/index.js @@ -25,20 +25,11 @@ var ganttChart = new ej.gantt.Gantt({ }, }); function loadCultureFiles() { - var files = ['ca-gregorian.json', 'numbers.json']; - var loader = ej.base.loadCldr; - var loadCulture = function (prop) { - var val, ajax; - ajax = new ej.base.Ajax('./' + files[prop], 'GET', false); - ajax.onSuccess = function (value) { - val = value; - }; - ajax.send(); - loader(JSON.parse(val)); - }; - for (var prop = 0; prop < files.length; prop++) { - loadCulture(prop); - } + var files = [loaderJson, numberJson]; + var loader = ej.base.loadCldr; + for (var prop = 0; prop < files.length; prop++) { + loader(JSON.parse(files[prop])); + } } ganttChart.appendTo('#Gantt'); diff --git a/ej2-javascript/code-snippet/gantt/global-cs2/js/index.html b/ej2-javascript/code-snippet/gantt/global-cs2/js/index.html index 0a2cd7f57..f7154dc2c 100644 --- a/ej2-javascript/code-snippet/gantt/global-cs2/js/index.html +++ b/ej2-javascript/code-snippet/gantt/global-cs2/js/index.html @@ -16,6 +16,8 @@ + + diff --git a/ej2-javascript/code-snippet/gantt/global-cs2/number.json b/ej2-javascript/code-snippet/gantt/global-cs2/number.json new file mode 100644 index 000000000..fdb0439da --- /dev/null +++ b/ej2-javascript/code-snippet/gantt/global-cs2/number.json @@ -0,0 +1,155 @@ +var numberData = { + "main": { + "de-DE": { + "identity": { + "version": { + "_number": "$Revision: 13259 $", + "_cldrVersion": "31" + }, + "language": "de" + }, + "numbers": { + "defaultNumberingSystem": "latn", + "otherNumberingSystems": { + "native": "latn" + }, + "minimumGroupingDigits": "1", + "symbols-numberSystem-latn": { + "decimal": ",", + "group": ".", + "list": ";", + "percentSign": "%", + "plusSign": "+", + "minusSign": "-", + "exponential": "E", + "superscriptingExponent": "·", + "perMille": "‰", + "infinity": "∞", + "nan": "NaN", + "timeSeparator": ":" + }, + "decimalFormats-numberSystem-latn": { + "standard": "#,##0.###", + "long": { + "decimalFormat": { + "1000-count-one": "0 Tausend", + "1000-count-other": "0 Tausend", + "10000-count-one": "00 Tausend", + "10000-count-other": "00 Tausend", + "100000-count-one": "000 Tausend", + "100000-count-other": "000 Tausend", + "1000000-count-one": "0 Million", + "1000000-count-other": "0 Millionen", + "10000000-count-one": "00 Millionen", + "10000000-count-other": "00 Millionen", + "100000000-count-one": "000 Millionen", + "100000000-count-other": "000 Millionen", + "1000000000-count-one": "0 Milliarde", + "1000000000-count-other": "0 Milliarden", + "10000000000-count-one": "00 Milliarden", + "10000000000-count-other": "00 Milliarden", + "100000000000-count-one": "000 Milliarden", + "100000000000-count-other": "000 Milliarden", + "1000000000000-count-one": "0 Billion", + "1000000000000-count-other": "0 Billionen", + "10000000000000-count-one": "00 Billionen", + "10000000000000-count-other": "00 Billionen", + "100000000000000-count-one": "000 Billionen", + "100000000000000-count-other": "000 Billionen" + } + }, + "short": { + "decimalFormat": { + "1000-count-one": "0", + "1000-count-other": "0", + "10000-count-one": "0", + "10000-count-other": "0", + "100000-count-one": "0", + "100000-count-other": "0", + "1000000-count-one": "0 Mio'.'", + "1000000-count-other": "0 Mio'.'", + "10000000-count-one": "00 Mio'.'", + "10000000-count-other": "00 Mio'.'", + "100000000-count-one": "000 Mio'.'", + "100000000-count-other": "000 Mio'.'", + "1000000000-count-one": "0 Mrd'.'", + "1000000000-count-other": "0 Mrd'.'", + "10000000000-count-one": "00 Mrd'.'", + "10000000000-count-other": "00 Mrd'.'", + "100000000000-count-one": "000 Mrd'.'", + "100000000000-count-other": "000 Mrd'.'", + "1000000000000-count-one": "0 Bio'.'", + "1000000000000-count-other": "0 Bio'.'", + "10000000000000-count-one": "00 Bio'.'", + "10000000000000-count-other": "00 Bio'.'", + "100000000000000-count-one": "000 Bio'.'", + "100000000000000-count-other": "000 Bio'.'" + } + } + }, + "scientificFormats-numberSystem-latn": { + "standard": "#E0" + }, + "percentFormats-numberSystem-latn": { + "standard": "#,##0 %" + }, + "currencyFormats-numberSystem-latn": { + "currencySpacing": { + "beforeCurrency": { + "currencyMatch": "[:^S:]", + "surroundingMatch": "[:digit:]", + "insertBetween": " " + }, + "afterCurrency": { + "currencyMatch": "[:^S:]", + "surroundingMatch": "[:digit:]", + "insertBetween": " " + } + }, + "standard": "#,##0.00 ¤", + "accounting": "#,##0.00 ¤", + "short": { + "standard": { + "1000-count-one": "0 Tsd'.' ¤", + "1000-count-other": "0 Tsd'.' ¤", + "10000-count-one": "00 Tsd'.' ¤", + "10000-count-other": "00 Tsd'.' ¤", + "100000-count-one": "000 Tsd'.' ¤", + "100000-count-other": "000 Tsd'.' ¤", + "1000000-count-one": "0 Mio'.' ¤", + "1000000-count-other": "0 Mio'.' ¤", + "10000000-count-one": "00 Mio'.' ¤", + "10000000-count-other": "00 Mio'.' ¤", + "100000000-count-one": "000 Mio'.' ¤", + "100000000-count-other": "000 Mio'.' ¤", + "1000000000-count-one": "0 Mrd'.' ¤", + "1000000000-count-other": "0 Mrd'.' ¤", + "10000000000-count-one": "00 Mrd'.' ¤", + "10000000000-count-other": "00 Mrd'.' ¤", + "100000000000-count-one": "000 Mrd'.' ¤", + "100000000000-count-other": "000 Mrd'.' ¤", + "1000000000000-count-one": "0 Bio'.' ¤", + "1000000000000-count-other": "0 Bio'.' ¤", + "10000000000000-count-one": "00 Bio'.' ¤", + "10000000000000-count-other": "00 Bio'.' ¤", + "100000000000000-count-one": "000 Bio'.' ¤", + "100000000000000-count-other": "000 Bio'.' ¤" + } + }, + "unitPattern-count-one": "{0} {1}", + "unitPattern-count-other": "{0} {1}" + }, + "miscPatterns-numberSystem-latn": { + "atLeast": "{0}+", + "range": "{0}–{1}" + }, + "minimalPairs": { + "pluralMinimalPairs": "{0} Tag", + "pluralMinimalPairs": "{0} Tage", + "other": "{0}. Abzweigung nach rechts nehmen" + } + } + } + } + } + var numberJson = JSON.stringify(numberData); \ No newline at end of file diff --git a/ej2-javascript/code-snippet/gantt/global-cs3/index.js b/ej2-javascript/code-snippet/gantt/global-cs3/index.js index a3e3cd645..f49ef65f4 100644 --- a/ej2-javascript/code-snippet/gantt/global-cs3/index.js +++ b/ej2-javascript/code-snippet/gantt/global-cs3/index.js @@ -121,5 +121,5 @@ var ganttChart = new ej.gantt.Gantt({ }, }); -gantt.appendTo('#Gantt'); +ganttChart.appendTo('#Gantt'); diff --git a/ej2-javascript/code-snippet/gantt/predecessor-cs6/js/index.html b/ej2-javascript/code-snippet/gantt/predecessor-cs6/js/index.html index 7f8203ae3..08db5583b 100644 --- a/ej2-javascript/code-snippet/gantt/predecessor-cs6/js/index.html +++ b/ej2-javascript/code-snippet/gantt/predecessor-cs6/js/index.html @@ -16,5 +16,6 @@ + diff --git a/ej2-javascript/code-snippet/gantt/sortingCustomColumns-cs1/index.js b/ej2-javascript/code-snippet/gantt/sortingCustomColumns-cs1/index.js index 4c4858a5b..091bdac22 100644 --- a/ej2-javascript/code-snippet/gantt/sortingCustomColumns-cs1/index.js +++ b/ej2-javascript/code-snippet/gantt/sortingCustomColumns-cs1/index.js @@ -1,4 +1,4 @@ -GanttData: Object[] = [ +var GanttData = [ { TaskID: 1, TaskName: 'Project Initiation', @@ -44,7 +44,7 @@ GanttData: Object[] = [ { field: 'CustomColumn', headerText: 'CustomColumn' } ] }); -gantt.appendTo('#Gantt'); +ganttChart.appendTo('#Gantt'); var sortBtn= new ej.buttons.Button(); sortBtn.appendTo('#sortColumn'); diff --git a/ej2-javascript/code-snippet/gantt/timezone-cs2/index.js b/ej2-javascript/code-snippet/gantt/timezone-cs2/index.js index ff28e41f5..e251844fa 100644 --- a/ej2-javascript/code-snippet/gantt/timezone-cs2/index.js +++ b/ej2-javascript/code-snippet/gantt/timezone-cs2/index.js @@ -1,4 +1,4 @@ - var gantt = new index_1.Gantt({ + var gantt = new ej.gantt.Gantt({ dataSource: [ { taskID: 1, @@ -134,5 +134,5 @@ function actionComplete(args) { console.log(args.data.ganttProperties.endDate); } } -ganttChart.appendTo('#Gantt'); +gantt.appendTo('#Gantt'); diff --git a/ej2-javascript/code-snippet/treegrid/add-params-cs1/ts/index.html b/ej2-javascript/code-snippet/treegrid/add-params-cs1/ts/index.html index 213b8ccd7..3939fbdb3 100644 --- a/ej2-javascript/code-snippet/treegrid/add-params-cs1/ts/index.html +++ b/ej2-javascript/code-snippet/treegrid/add-params-cs1/ts/index.html @@ -15,12 +15,8 @@
Loading....
-
-
-
-
-
-
+
+