Skip to content

Commit 8356403

Browse files
Integrated latest changes at 10-30-2025 1:30:06 PM
1 parent e7e904f commit 8356403

File tree

11 files changed

+36
-19
lines changed

11 files changed

+36
-19
lines changed

ej2-javascript/code-snippet/ai-assistview/speech/stt/js/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
<link href="https://cdn.syncfusion.com/ej2/20.3.56/ej2-interactive-chat/styles/material.css" rel="stylesheet" />
1313
<link href="https://cdn.syncfusion.com/ej2/20.3.56/ej2-inputs/styles/material.css" rel="stylesheet" />
1414
<link href="https://cdn.syncfusion.com/ej2/20.3.56/ej2-buttons/styles/material.css" rel="stylesheet" />
15+
<link href="https://cdn.syncfusion.com/ej2/20.3.56/ej2-popups/styles/material.css" rel="stylesheet" />
1516
<link href="https://cdn.syncfusion.com/ej2/20.3.56/ej2-navigations/styles/material.css" rel="stylesheet" />
1617
<link href="https://cdn.syncfusion.com/ej2/20.3.56/ej2-notifications/styles/material.css" rel="stylesheet" />
1718
<script src="https://cdnjs.cloudflare.com/ajax/libs/systemjs/0.19.38/system.js"></script>

ej2-javascript/code-snippet/ai-assistview/speech/stt/ts/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
<link href="https://cdn.syncfusion.com/ej2/20.3.56/ej2-interactive-chat/styles/material.css" rel="stylesheet" />
1313
<link href="https://cdn.syncfusion.com/ej2/20.3.56/ej2-inputs/styles/material.css" rel="stylesheet" />
1414
<link href="https://cdn.syncfusion.com/ej2/20.3.56/ej2-buttons/styles/material.css" rel="stylesheet" />
15+
<link href="https://cdn.syncfusion.com/ej2/20.3.56/ej2-popups/styles/material.css" rel="stylesheet" />
1516
<link href="https://cdn.syncfusion.com/ej2/20.3.56/ej2-navigations/styles/material.css" rel="stylesheet" />
1617
<link href="https://cdn.syncfusion.com/ej2/20.3.56/ej2-notifications/styles/material.css" rel="stylesheet" />
1718
<script src="https://cdnjs.cloudflare.com/ajax/libs/systemjs/0.19.38/system.js"></script>

ej2-javascript/code-snippet/ai-assistview/speech/tts/js/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
<link href="https://cdn.syncfusion.com/ej2/20.3.56/ej2-interactive-chat/styles/material.css" rel="stylesheet" />
1313
<link href="https://cdn.syncfusion.com/ej2/20.3.56/ej2-inputs/styles/material.css" rel="stylesheet" />
1414
<link href="https://cdn.syncfusion.com/ej2/20.3.56/ej2-buttons/styles/material.css" rel="stylesheet" />
15+
<link href="https://cdn.syncfusion.com/ej2/20.3.56/ej2-popups/styles/material.css" rel="stylesheet" />
1516
<link href="https://cdn.syncfusion.com/ej2/20.3.56/ej2-navigations/styles/material.css" rel="stylesheet" />
1617
<link href="https://cdn.syncfusion.com/ej2/20.3.56/ej2-notifications/styles/material.css" rel="stylesheet" />
1718
<script src="https://cdnjs.cloudflare.com/ajax/libs/systemjs/0.19.38/system.js"></script>

ej2-javascript/code-snippet/ai-assistview/speech/tts/ts/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
<link href="https://cdn.syncfusion.com/ej2/20.3.56/ej2-interactive-chat/styles/material.css" rel="stylesheet" />
1313
<link href="https://cdn.syncfusion.com/ej2/20.3.56/ej2-inputs/styles/material.css" rel="stylesheet" />
1414
<link href="https://cdn.syncfusion.com/ej2/20.3.56/ej2-buttons/styles/material.css" rel="stylesheet" />
15+
<link href="https://cdn.syncfusion.com/ej2/20.3.56/ej2-popups/styles/material.css" rel="stylesheet" />
1516
<link href="https://cdn.syncfusion.com/ej2/20.3.56/ej2-navigations/styles/material.css" rel="stylesheet" />
1617
<link href="https://cdn.syncfusion.com/ej2/20.3.56/ej2-notifications/styles/material.css" rel="stylesheet" />
1718
<script src="https://cdnjs.cloudflare.com/ajax/libs/systemjs/0.19.38/system.js"></script>

ej2-javascript/code-snippet/grid/grid-cs39/index.js

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,15 @@ var grid = new ej.grids.Grid({
1717
grid.appendTo('#Grid');
1818

1919
function queryCellInfo(args) {
20-
if (args.column.headerText === 'Verified') {
21-
var checkbox = new ej.buttons.CheckBox
22-
({
23-
checked: args.data.Verified
24-
});
25-
checkbox.appendTo(args.cell.querySelector('input'));
26-
}
27-
}
20+
if (args.column.headerText === 'Verified') {
21+
var checkbox = new ej.buttons.CheckBox
22+
({
23+
checked: args.data.Verified,
24+
change: function (changeArgs) {
25+
args.data.Verified = changeArgs.checked;
26+
grid.updateRow(args.data.OrderID, args.data);
27+
},
28+
});
29+
checkbox.appendTo(args.cell.querySelector('input'));
30+
}
31+
}

ej2-javascript/code-snippet/grid/grid-cs39/index.ts

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Grid, Edit, Toolbar,QueryCellInfoEventArgs } from '@syncfusion/ej2-grids';
2-
import { CheckBox } from '@syncfusion/ej2-buttons';
2+
import { CheckBox,ChangeEventArgs } from '@syncfusion/ej2-buttons';
33
import { data } from './datasource.ts';
44

55
Grid.Inject(Edit,Toolbar);
@@ -24,8 +24,13 @@ function queryCellInfo(args: QueryCellInfoEventArgs) {
2424
if (args.column.headerText === 'Verified') {
2525
let checkbox: CheckBox = new CheckBox
2626
({
27-
checked: (args.data as any).Verified
27+
checked: (args.data as any).Verified,
28+
change: function (changeArgs: ChangeEventArgs) {
29+
(args.data as any).Verified = changeArgs.checked;
30+
grid.updateRow((args.data as any).OrderID, args.data);
31+
},
2832
});
2933
checkbox.appendTo(args.cell.querySelector('input'));
3034
}
31-
}
35+
}
36+

ej2-javascript/code-snippet/grid/grid-cs39/js/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<div id="container">
2626
<div class="wrap">
2727
<script type="text/x-template" id="template" >
28-
<input type="checkbox" id="checkbox">
28+
<input type="checkbox">
2929
</script>
3030
</div>
3131
<div id="Grid"></div>

ej2-javascript/code-snippet/grid/grid-cs39/ts/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
<div id='container'>
3030
<div class="wrap">
3131
<script type="text/x-template" id="template" >
32-
<input type="checkbox" id="checkbox">
32+
<input type="checkbox">
3333
</script>
3434
</div>
3535
<div id='Grid'></div>

ej2-javascript/grid/filtering/filter-bar.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ The following example demonstrates how to activate default filtering in the grid
6060
{% previewsample "page.domainurl/code-snippet/grid/grid-cs64" %}
6161
{% endif %}
6262

63-
> To enable or dynamically switch the filter type, you must set the [filterSettings->type](../../api/grid/filtersettings/#type) as **FilterBar**.
63+
> If the [filterSettings->type](../../api/grid/filtersettings/#type) is not explicitly specified, it defaults to **FilterBar**.
6464
6565
## Filter bar modes
6666

ej2-javascript/rich-text-editor/smart-editing/mentions.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,12 @@ domainurl: ##DomainURL##
1313

1414
By integrating the [Mention](https://ej2.syncfusion.com/documentation/mention/getting-started) control with a Rich Text Editor, users can effortlessly mention or tag other users or objects from a suggested list. This eliminates the need to manually type out names or identifying information, improving efficiency and accuracy.
1515

16+
## Setup and configuration
17+
1618
Use the [target](https://ej2.syncfusion.com/documentation/api/mention/#target) property of the Mention control to specify the `ID` of the content editable div element within the Rich Text Editor. When setting the target, make sure to append the suffix `_rte-edit-view` to the ID. This allows you to enable the Mention functionality within the Rich Text Editor, so that users can mention or tag other users or objects from the suggested list while editing the text.
1719

20+
## Using mentions
21+
1822
When the user types the `@` symbol followed by a character, the Rich Text Editor displays a list of suggestions. Users can then select an item from the list by:
1923

2024
* Clicking on it
@@ -26,7 +30,7 @@ When the user types the `@` symbol followed by a character, the Rich Text Editor
2630

2731
You can control when the suggestion list appears by setting the [minLength](https://ej2.syncfusion.com/documentation/api/mention/#minlength) property in the Mention control. This property defines the minimum number of characters a user must type after the mention character (@) to trigger the search action. This is especially useful when working with large datasets, as it helps reduce unnecessary queries and improves performance.
2832

29-
By default, minLength is set to 0, which means the suggestion list appears immediately after the mention character is entered. However, you can increase this value to delay the search until the user has typed a specific number of characters.
33+
By default, `minLength` is set to 0, which means the suggestion list appears immediately after the mention character is entered. However, you can increase this value to delay the search until the user has typed a specific number of characters.
3034

3135
In the following example, the minLength is set to 3, so the suggestion list will only appear once the user types three or more characters after the @ symbol.
3236

@@ -94,7 +98,7 @@ In the example below, the `suggestionCount` is set to 5, so only 5 items will be
9498

9599
### Customizing suggestion list using templates
96100

97-
#### Item Template
101+
#### Item template
98102

99103
You can customize how each item appears in the suggestion list using the [itemTemplate](https://ej2.syncfusion.com/documentation/api/mention/#itemtemplate) property. This allows you to display additional details such as email, role, or profile image alongside the mention name.
100104

@@ -113,7 +117,7 @@ Using the `displayTemplate` property, you can customize it to render as a clicka
113117

114118
```
115119
<a href="" title="">@Selma Rose</a>
116-
120+
<a href="mailto:maria@gmail.com" title="maria@gmail.com">@Maria</a>
117121
```
118122

119123
This allows you to create more interactive and informative mentions within the editor.

0 commit comments

Comments
 (0)