Select First Item in tree view widget

A data view is listening to a channel of the tree view. When the page is opened no item is selected in the data view is empty and confuses the user what to do. In a data grid there is an option for ‘select first’ I like to add this function to the tree widget. I made several widgets but this thing is really complicated. Is there anybody who can give me an hint how to select this first item? Is there a function that I can connect to, which is called when the whole tree is loaded so I can fire the ‘setSelection’ function? Thank you Andries
0 answers