All entries for November 2005
November 19, 2005
Here's the second screen cast
It shows off the more advanced features of the Data Bound Tree View control. These include binding to a recursive data structure, automatic node reordering upon source list sorting and dynamic custom node creation.
Check it out and let me know what you think!
November 17, 2005
Writing about web page http://www.equin.co.uk/screencasts/01-databoundtreeview.wmv
I decided that trying to write about the projects I've been working on would take too much time and not really get across the ideas as easily as just showing you! Therefore I decided to have a go at a "screen cast".
This first video demos the basics of my new Data Bound Tree View control. I'm still playing around with recording settings, etc, so hopefully the quality will improve for the next one.
Any comments, suggestions are welcome.
November 08, 2005
I decided that my data bound treeview control should support recursive data structures. For example an OPML file consists of a set of "outline" elements and each outline can have child outlines inside. Therefore I've added a method to the control called "AddRecursiveLevel". So the tree will then recurse over the data structure until all leaves have been reached. The recursive level cannot have a CurrencyManager to update because that would require changing the data source of it (which can't be done easily). It does not make much sense to have an idea of "currency" when dealing with arbitrary depth tree data structure. The solution is to add a SelectedDataItem property to the control. Code that uses the treeview control can data bind that property to the datasource property of a BindingSource component. Other UI controls can then bind to that BindingSource. That way the user can drill down to a node in the tree view and then edit data using controls bound to the selected item.
There is still a fair bit of work to do in terms of enforcing constraints and documentation. I'm very busy getting ready for my trip to the USA on Thursday. Hopefully when I return I will have some more free time to work on the control.