Skip to main content

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.

public class ejListView : ejBase

Constructors​

Instance member 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);

Instance member ejListView(options)​

Constructs a new instance of the ejListView class.

NameTypeDescription
optionsObjectInitial 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);

Implements​