ejListView
Namespace: Wisej.Web.Ext.Syncfusion
Assembly: Wisej.Web.Ext.Syncfusion (4.1.0.0)
The Essential JavaScript ListView widget builds interactive ListView interface. This control allows you to select an item from a list-like interface and display a set of data items in different layouts or views. Lists are used for displaying data, data navigation, result lists, and data entry.
- C#
- VB.NET
public class ejListView : ejBase
Public Class ejListView
Inherits ejBase
Constructors
ejListView()
Constructs a new instance of the ejListView class.
Example:
The following example creates the list view and binds it to a list through the options.
var listView = new ejListView();
listView.Options.dataSource = contacts;
listView.Options.fieldSettings = new { text = "Name" };
listView.Size = new Size(300, 400);
this.Controls.Add(listView);
ejListView(options)
Constructs a new instance of the ejListView class.
| Name | Type | Description |
|---|---|---|
| options | Object | Initial set of options. |
Example:
The following example creates a list view with a header and a filter box.
var listView = new ejListView(new
{
dataSource = contacts,
fieldSettings = new { text = "Name" },
showHeader = true,
headerTitle = "Contacts",
enableFiltering = true
});
listView.Size = new Size(300, 400);
this.Controls.Add(listView);