DEV treelist

DataSet ds = dbhelp.Gettreelist();
treeList1.DataSource = ds.Tables[0];
The tree is below the default opened the last node

How to let off by default all nodes? ? ? ?

Started by Cherry at November 24, 2016 - 12:43 PM

treeList1.Collapse();

Posted by Sharon at November 30, 2016 - 1:17 PM

    treeList1.CollapseAll();

Posted by Sharon at December 05, 2016 - 2:04 PM

treeList1.CollapseAll().
And still no effect

Posted by Cherry at December 13, 2016 - 2:24 PM

Try the treeList.OptionsBehavior.AutoFocusNewNode = false;

Posted by Lucy at December 18, 2016 - 3:24 PM

No way. . . .

Posted by Cherry at December 30, 2016 - 4:16 PM