Skip to content
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<div class="option">
<span>Edit Row Key:</span>
<div id="editRowKey">{{
editRowKey === null ? "null" : editRowKey.toString()
editRowKey == null ? "null" : editRowKey.toString()
}}</div>
</div>
<div class="option">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ const App = () => {
<div className="caption">Options</div>
<div className="option">
<span>Edit Row Key:</span>
<div id="editRowKey">{state.editRowKey === null ? 'null' : state.editRowKey.toString()}</div>
<div id="editRowKey">{state.editRowKey == null ? 'null' : state.editRowKey.toString()}</div>
</div>
<div className="option">
<span>Changes:</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ const App = () => {
<div className="option">
<span>Edit Row Key:</span>
<div id="editRowKey">
{state.editRowKey === null ? 'null' : state.editRowKey.toString()}
{state.editRowKey == null ? 'null' : state.editRowKey.toString()}
</div>
</div>
<div className="option">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
<div class="caption">Options</div>
<div class="option">
<span>Edit Row Key:</span>
<div id="editRowKey">{{ editRowKey === null ? "null" : editRowKey.toString() }}</div>
<div id="editRowKey">{{ editRowKey == null ? "null" : editRowKey.toString() }}</div>
</div>
<div class="option">
<span>Changes:</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Loading