Search
ListView.draw Method
See Also
 






Control.draw override.

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

 Syntax

JavaScript  Copy Code

function draw ()

 Example

The following code creates a new ListView and adds it to the DOM tree under an element called "list":

JavaScript  Copy Code

function loadListWindow(sender)
{

    var listView = new ui.ListView();
    sender.element.querySelector("#list").appendChild(listView.draw());
    listView.attach();
}

 See Also