diff --git a/apps/demos/Demos/DataGrid/EditStateManagement/Angular/app/app.component.html b/apps/demos/Demos/DataGrid/EditStateManagement/Angular/app/app.component.html index 2f6056d742c4..3d2d249249cd 100644 --- a/apps/demos/Demos/DataGrid/EditStateManagement/Angular/app/app.component.html +++ b/apps/demos/Demos/DataGrid/EditStateManagement/Angular/app/app.component.html @@ -37,7 +37,7 @@
Edit Row Key:
{{ - editRowKey === null ? "null" : editRowKey.toString() + editRowKey == null ? "null" : editRowKey.toString() }}
diff --git a/apps/demos/Demos/DataGrid/EditStateManagement/React/App.tsx b/apps/demos/Demos/DataGrid/EditStateManagement/React/App.tsx index b68863c049e8..4d53969c1d2a 100644 --- a/apps/demos/Demos/DataGrid/EditStateManagement/React/App.tsx +++ b/apps/demos/Demos/DataGrid/EditStateManagement/React/App.tsx @@ -84,7 +84,7 @@ const App = () => {
Options
Edit Row Key: -
{state.editRowKey === null ? 'null' : state.editRowKey.toString()}
+
{state.editRowKey == null ? 'null' : state.editRowKey.toString()}
Changes: diff --git a/apps/demos/Demos/DataGrid/EditStateManagement/ReactJs/App.js b/apps/demos/Demos/DataGrid/EditStateManagement/ReactJs/App.js index fbd5a540baff..a255fa4595f0 100644 --- a/apps/demos/Demos/DataGrid/EditStateManagement/ReactJs/App.js +++ b/apps/demos/Demos/DataGrid/EditStateManagement/ReactJs/App.js @@ -88,7 +88,7 @@ const App = () => {
Edit Row Key:
- {state.editRowKey === null ? 'null' : state.editRowKey.toString()} + {state.editRowKey == null ? 'null' : state.editRowKey.toString()}
diff --git a/apps/demos/Demos/DataGrid/EditStateManagement/Vue/App.vue b/apps/demos/Demos/DataGrid/EditStateManagement/Vue/App.vue index c904c0e3ce7a..b6473dc62b2c 100644 --- a/apps/demos/Demos/DataGrid/EditStateManagement/Vue/App.vue +++ b/apps/demos/Demos/DataGrid/EditStateManagement/Vue/App.vue @@ -39,7 +39,7 @@
Options
Edit Row Key: -
{{ editRowKey === null ? "null" : editRowKey.toString() }}
+
{{ editRowKey == null ? "null" : editRowKey.toString() }}
Changes: diff --git a/apps/demos/Demos/DataGrid/EditStateManagement/jQuery/index.js b/apps/demos/Demos/DataGrid/EditStateManagement/jQuery/index.js index 687b50679ee5..dbed59458399 100644 --- a/apps/demos/Demos/DataGrid/EditStateManagement/jQuery/index.js +++ b/apps/demos/Demos/DataGrid/EditStateManagement/jQuery/index.js @@ -34,7 +34,7 @@ $(() => { const editRowKey = e.component.option('editing.editRowKey'); let changes = e.component.option('editing.changes'); - $('#editRowKey').text(editRowKey === null ? 'null' : editRowKey); + $('#editRowKey').text(editRowKey == null ? 'null' : editRowKey); changes = changes.map((change) => ({ type: change.type,