|
1 | 1 | --- |
2 | 2 | layout: post |
3 | | -title: How to - DropDownList widget for Syncfusion Essential JS |
4 | | -description: How To Section in DropDownList widget for Syncfusion Essential JS |
| 3 | +title: How to - DropDownList widget for Syncfusion Essential Angular |
| 4 | +description: How To Section in DropDownList widget for Syncfusion Essential Angular, its elements, features, and more. |
5 | 5 | platform: angular |
6 | 6 | control: DropDownList |
7 | 7 | documentation: ug |
8 | 8 | keywords: DropDownList, dropdown, Adding Items, Set Focus, custommization |
9 | 9 | api: /api/js/ejdropdownlist |
10 | 10 | --- |
11 | 11 |
|
12 | | -# How To |
| 12 | +# How To Section in Angular DropDownList |
13 | 13 |
|
14 | 14 | ## Set focus to control initially? |
15 | 15 |
|
@@ -161,7 +161,7 @@ export class DropDownListComponent { |
161 | 161 |
|
162 | 162 | The following screenshot will exhibit the select event arguments details, |
163 | 163 |
|
164 | | - |
| 164 | + |
165 | 165 |
|
166 | 166 | ## Append custom HTML in DropDownList popup outside the scroller part? |
167 | 167 |
|
@@ -298,9 +298,9 @@ export class DropDownListComponent { |
298 | 298 |
|
299 | 299 | The following screenshot exhibits the output of the above code, |
300 | 300 |
|
301 | | - |
| 301 | + |
302 | 302 |
|
303 | | -# To Cascade DropDownLists with different field names |
| 303 | +## To Cascade DropDownLists with different field names |
304 | 304 | By default cascading is performed based on the Value field, so that it needs to be same with cascaded DropDownList. If you need to cascade 2 DropDownLists with different field names and same values in it, you can achieve it using cascadeQuery and [cascade](https://help.syncfusion.com/api/js/ejdropdownlist#events:cascade "") event. Define the cascade event for the DropDownList from which you need to filter the datasource for the other DropDownList. |
305 | 305 |
|
306 | 306 | In the cascade event arguments, modify the cascadeQuery which has the filtering query for the cascading DropDownList with your customized query. So to filter the datasource based on the different field names, pass an ej.Query() which want to execute for cascade DropDownList. |
@@ -368,7 +368,7 @@ export class cascadeToComponent { |
368 | 368 |
|
369 | 369 | {% endhighlight %} |
370 | 370 |
|
371 | | - |
| 371 | + |
372 | 372 |
|
373 | 373 | ## To reorder the selected items and assign it to the top of popup list |
374 | 374 | Consider a DropDownList enabled with Virtual Scrolling, Filter search and Checkbox. This allows you to search through the list items and select multiple items. Selected items will be maintained in the DropDownList textbox but randomly shown in the pop up. |
@@ -714,10 +714,10 @@ export class DropDownListComponent { |
714 | 714 | The following screenshot exhibits the output of above code: |
715 | 715 |
|
716 | 716 | Before removing an item: |
717 | | - |
| 717 | + |
718 | 718 |
|
719 | 719 | After removing an item: |
720 | | - |
| 720 | + |
721 | 721 |
|
722 | 722 |
|
723 | 723 | ## Select the image rather than the text from the DropDownList when the template concept is used? |
@@ -807,7 +807,7 @@ Apply the following styles |
807 | 807 |
|
808 | 808 | {% endhighlight %} |
809 | 809 |
|
810 | | - |
| 810 | + |
811 | 811 |
|
812 | 812 | N> This scenarios, will be suits for the single select mode in the DropDownList. |
813 | 813 |
|
@@ -867,7 +867,7 @@ export class DropDownListComponent { |
867 | 867 |
|
868 | 868 | {% endhighlight %} |
869 | 869 |
|
870 | | -  |
| 870 | +  |
871 | 871 |
|
872 | 872 | ## Add tooltip on hovering the DropDownList’s items? |
873 | 873 |
|
@@ -1086,7 +1086,7 @@ export class DropdownlistComponent { |
1086 | 1086 |
|
1087 | 1087 | {% endhighlight %} |
1088 | 1088 |
|
1089 | | - |
| 1089 | + |
1090 | 1090 |
|
1091 | 1091 | Method 2: Using Visual Mode |
1092 | 1092 |
|
@@ -1134,4 +1134,4 @@ export class DropdownlistComponent { |
1134 | 1134 |
|
1135 | 1135 | {% endhighlight %} |
1136 | 1136 |
|
1137 | | - |
| 1137 | + |
0 commit comments