diff --git a/ej2-asp-core-mvc/code-snippet/grid/edit/inline-single/razor b/ej2-asp-core-mvc/code-snippet/grid/edit/inline-single/razor index 288dce215a..6612d4f5e1 100644 --- a/ej2-asp-core-mvc/code-snippet/grid/edit/inline-single/razor +++ b/ej2-asp-core-mvc/code-snippet/grid/edit/inline-single/razor @@ -6,18 +6,21 @@ col.Field("ShipName").HeaderText("Ship Name").Width("150").ValidationRules(new { required = "true"}).Add(); col.Field("ShipCountry").HeaderText("Ship Country").EditType("dropdownedit").Width("150").ValidationRules(new { required = "true"}).Add(); }).AllowPaging().Load("load").EditSettings(edit => { edit.AllowAdding(true).AllowEditing(true).AllowDeleting(true).Mode(Syncfusion.EJ2.Grids.EditMode.Normal); }).Toolbar(new List() { "Add", "Edit", "Delete", "Update", "Cancel" }).Render() + \ No newline at end of file diff --git a/ej2-asp-core-mvc/code-snippet/grid/edit/inline-single/tagHelper b/ej2-asp-core-mvc/code-snippet/grid/edit/inline-single/tagHelper index e446be345b..4a22bb1101 100644 --- a/ej2-asp-core-mvc/code-snippet/grid/edit/inline-single/tagHelper +++ b/ej2-asp-core-mvc/code-snippet/grid/edit/inline-single/tagHelper @@ -13,13 +13,15 @@ { var grid = document.getElementById("grid").ej2_instances[0]; grid.element.addEventListener('mouseup', (event) => { - if (event.target.classList.contains("e-rowcell")) { - if (grid.isEdit) - grid.endEdit(); + if (event.target.classList.contains("e-rowcell")) { + if (grid.isEdit) + { + grid.endEdit(); + } let index= parseInt((event.target).getAttribute("Index")); grid.selectRow(index); grid.startEdit(); - }; + } }); } \ No newline at end of file diff --git a/ej2-asp-core-mvc/document-editor/text-format.md b/ej2-asp-core-mvc/document-editor/text-format.md index a3e466ac07..801d14c72b 100644 --- a/ej2-asp-core-mvc/document-editor/text-format.md +++ b/ej2-asp-core-mvc/document-editor/text-format.md @@ -106,6 +106,14 @@ You can make a subscript or superscript text as normal using the following code. documenteditor.selection.characterFormat.baselineAlignment='Normal'; ``` +## Change case + +You can apply different case formatting based on the selected text. Refer to the following sample code. + +```typescript +documenteditor.editor.changeCase('Uppercase'|'Lowercase'|'SentenceCase'|'ToggleCase'|'CapitalizeEachWord'); +``` + ## Size The size of selected text can be get or set using the following code. @@ -182,6 +190,6 @@ documenteditor.selection.characterFormat.highlightColor= '#FFC0CB'; ## See Also -* [Feature modules](../document-editor/feature-module/) -* [Font dialog](../document-editor/dialog/#font-dialog) -* [Keyboard shortcuts](../document-editor/keyboard-shortcut/) \ No newline at end of file +* [Feature modules](../document-editor/feature-module) +* [Font dialog](../document-editor/dialog#font-dialog) +* [Keyboard shortcuts](../document-editor/keyboard-shortcut) \ No newline at end of file