readDataSource

A boolean flag indicating whether to read the data source on initial load. true by default.

<div id="treeview"></div>

<script type="text/javascript">
    jQuery(function ($) {
        var ds = new shield.DataSource({
            data: [
                { text: "one", expanded: true, items: [
                    { text: "child of one", checked: true },
                    { text: "another child", disabled: true }
                ] }
            ]
        });

        $("#treeview").shieldTreeView({
            readDataSource: false,
            dataSource: ds
        });

        ds.read();
    });
</script>