Syncfusion.EJ2
Fields  Properties  Methods 


Syncfusion.EJ2.DropDowns Namespace : DropDownListBuilder Class

DropDownListBuilder Class Members

The following tables list the members exposed by DropDownListBuilder.

Public Constructors
 NameDescription
Public ConstructorOverloaded.   
Top
Public Fields
 NameDescription
Public Field  
Top
Public Properties
 NameDescription
Public Property (Inherited from Syncfusion.EJ2.ControlBuilder)
Public Property  
Public Property  
Public PropertyOverridden.   
Top
Public Methods
 NameDescription
Public Method Triggers before fetching data from the remote server.  
Public Method Triggers after data is fetched successfully from the remote server.  
Public Method Triggers when the data fetch request from the remote server fails.  
Public Method Accepts the template and assigns it to the popup list content of the component when the data fetch request from the remote server fails.  
Public Method When allowFiltering is set to true, show the filter bar (search box) of the component. The filter action retrieves matched items through the `filtering` event based on the characters typed in the search TextBox.  
Public Method Triggers when the popup before opens.  
Public Method Triggers when focus moves out from the component.  
Public Method Triggers when an item in a popup is selected or when the model value is changed by user. Use change event to [`Configure the Cascading DropDownList`](../../drop-down-list/how-to/cascading)  
Public Method Triggers when the popup is closed.  
Public Method Triggers when the component is created.  
Public Method Sets CSS classes to the root element of the component that allows customization of appearance.  
Public Method Triggers when data source is populated in the popup list..  
Public MethodOverloaded.  Accepts the list items either through local or remote service and binds it to the component. It can be an array of JSON Objects or an instance of `DataManager`.  
Public Method Triggers when the component is destroyed.  
Public Method Specifies a value that indicates whether the component is enabled or not.  
Public Method Enable or disable persisting component's state between page reloads. If enabled, following list of states will be persisted. 1. value  
Public Method Enable or disable rendering component in right to left direction.  
Public MethodOverloaded.  The `fields` property maps the columns of the data table and binds the data to the component. text - Maps the text column from data table for each list item. value - Maps the value column from data table for each list item. iconCss - Maps the icon class column from data table for each list item. groupBy - Group the list items with it's related items by mapping groupBy field.  
Public Method Accepts the value to be displayed as a watermark text on the filter bar.  
Public Method Triggers on typing a character in the filter bar when the [`allowFiltering`](./#allowfiltering) is enabled. > For more details about the filtering refer to [`Filtering`](../../drop-down-list/filtering) documentation.  
Public Method Determines on which filter type, the component needs to be considered on search action. The `FilterType` and its supported data types are  
Public Method Specifies whether to display the floating label above the input element. Possible values are: Never: The label will never float in the input when the placeholder is available. Always: The floating label will always float above the input. Auto: The floating label will float above the input after focusing or entering a value in the input.  
Public Method Triggers when the component is focused.  
Public Method Accepts the template design and assigns it to the footer container of the popup list. > For more details about the available template options refer to [`Template`](../../drop-down-list/templates) documentation.  
Public Method Accepts the template design and assigns it to the group headers present in the popup list.  
Public Method Accepts the template design and assigns it to the header container of the popup list. > For more details about the available template options refer to [`Template`](../../drop-down-list/templates) documentation.  
Public Method Allows additional HTML attributes such as title, name, etc., and accepts n number of attributes in a key-value pair format.  
Public Method ignoreAccent set to true, then ignores the diacritic characters or accents when filtering.  
Public Method When set to ‘false’, consider the `case-sensitive` on performing the search to find suggestions. By default consider the casing.  
Public Method Gets or sets the index of the selected item in the component.  
Public Method Accepts the template design and assigns it to each list item present in the popup. We have built-in `template engine`  
Public Method Overrides the global culture and localization value for this component. Default global culture is 'en-US'.  
Public Method Accepts the template design and assigns it to popup list of component when no data is available on the component.  
Public Method Triggers when the popup opens.  
Public Method Specifies a short hint that describes the expected value of the DropDownList component.  
Public Method Specifies the height of the popup list. > For more details about the popup configuration refer to [`Popup Configuration`](../../drop-down-list/getting-started#configure-the-popup-list) documentation.  
Public Method Specifies the width of the popup list. By default, the popup width sets based on the width of the component. > For more details about the popup configuration refer to [`Popup Configuration`](../../drop-down-list/getting-started#configure-the-popup-list) documentation.  
Public Method Accepts the external `Query` that execute along with data processing.  
Public Method  
Public Method  
Public Method Triggers when an item in the popup is selected by the user either with mouse/tap or with keyboard navigation.  
Public Method Specifies whether to show or hide the clear button. When the clear button is clicked, `value`, `text`, and `index` properties are reset to null.  
Public Method Specifies the `sortOrder` to sort the data source. The available type of sort orders are `None` - The data source is not sorting. `Ascending` - The data source is sorting with ascending order. `Descending` - The data source is sorting with descending order.  
Public Method Gets or sets the display text of the selected item in the component.  
Public MethodOverloaded.  Gets or sets the value of the selected item in the component.  
Public Method Accepts the template design and assigns it to the selected list item in the input element of the component. For more details about the available template options refer to [`Template`](../../drop-down-list/templates) documentation.  
Public Method Specifies the width of the component. By default, the component width sets based on the width of its parent container. You can also set the width in pixel values.  
Public Method specifies the z-index value of the component popup element.  
Top
Extension Methods
 NameDescription
Public Extension MethodOverloaded.  Iterates the index.
Top
See Also