Search
ListView Class
Remarks See Also
 






Represents a list view control.

Namespace: MindFusion.Common.UI
File: ListView.js

 Syntax

JavaScript  Copy Code

// class
ListView.prototype = {}

 Remarks

ListView is also available as a React component.

 Example

The following code creates a new instance of the ListView class and adds one ListItem to it.

JavaScript  Copy Code

listView = new ui.ListView(document.getElementById("listView"));
listView.width = listView.height = ui.Unit.percentage(100);

var item = new ui.ListItem();
item.title = "Armillaria Ponderosa";
item.visible = false;

listView.items.add(item);

 Inheritance Hierarchy

MindFusion.Common.UI.Control
    MindFusion.Common.UI.ListContainer
        MindFusion.Common.UI.ListView

 See Also