I have a TreeView that is binded through a HierarchicalDataTemplate
<HierarchicalDataTemplate x:Key="HierachrTree" DataType="{x:Type src:Ordner}" ItemsSource="{Binding UnterOrdner}">
<TextBlock Text="{Binding OrdnerName}"/>
</HierarchicalDataTemplate>
Thats my TreeView:
<TreeView Name="DokumentBrowser" Ite...
Hi Everybody,
I want to be able to view a XML file in treeview, and the user can drag the node around in treeview, or delete some node, then the change should be automatically reflected in the XML file. To give an example of my purpose, think of the Favorites hierachy in IE:
The XML file before modification:
<Folder FolderName="Favori...
I have a relatively small xml file
<g>
<page no="1" href="page1.xml" >
<pic src="20100101001.jpg">1</pic>
<pic src="20100101002.jpg">2</pic>
<pic src="20100101003.jpg">3</pic>
</page>
<page no="2" href="page2.xml" >
<pic src="20100101011.jpg">1</pic>
<pic src="20100101012.jp...
Hi, i have a TreeView which is binded trough a HierarchicalDataTemplate. Im listing there a List which contains a list of a directories and files.
private void getDirectoryList()
{
using (FileOperations fileOP = new FileOperations())
{
this.DokumentBrowser.ItemsSource = fileOP.list_directory(rpath); //Li...
In my Database I have a table which from which I pull a List of "TaskItem" items (being tasks which when strung together make up a particular job).
Each TaskItem contains a "PreviousTask" field which points it to its preceding TaskItem (which is a string field made up of a concatenation of the composite primary keys determining that par...
I'm having performance problems when inserting many rows into a GTK treeview (using PyGTK) - or when modifying many rows. The problem is that the model seems to get resorted after each change (insert/modification). This causes the GUI to hang for multiple seconds. Leaving the model unsorted by commenting out model.set_sort_column_id(SOME...
Hi, I have a TreeView and when I click in it, i receive the error:
Traceback (most recent call last):
File "pyparty.py", line 76, in get_selected_user
self.selected_user = tree_model.get_value(tree_iter, 0)
TypeError: iter must be a GtkTreeIter
It just happen for the first click. After that it works fine. I don't know what's wro...
How can I sort a WinForms TreeView by using the nodes' keys, rather than by their names?
...
Hi,
is there a way to include a checkbox column in the new extjs widget TreeGrid ? Marking the nodes attribute checked to false/true just doesn't work as it was for the TreePanel.
Cheers
...
So I am having an issue with the TreeView. If I build a tree view statically, every node in the tree is selectable in that when I click on it, it highlights itself blue, indicating that node is selected.
<TreeView
Grid.Column="0"
Grid.Row="2"
MinHeight="100"
MinWidth="100"
BorderBrush="White"
DataContext="{Bind...
I have this Tree View that looks like this:
<TreeView
Grid.Column="0"
Grid.Row="2"
MinHeight="100"
MinWidth="100"
BorderBrush="White"
DataContext="{Binding Projects, Source={x:Static SizingApp:Manager.Instance}}">
<T...
Hi everyone
I have a TreeView with a given width. When I add a node with a name which makes it exceed the maximal TreeView width it displays a vertical scrollbar.
I'd prefer to display only the beginning of the name followed by '...' to avoid the scrollbar. I tried googleing it but I fail to find a result.
Could someone tell me how it...
Does anyone have suggestions on the best way to bind an observable collection to multiple wpf trees using different groupings? Both bindings are two-way, such that changes in one control should be reflected in both controls.
...
I have a global set of values, e.g. ["Foo", "Bar", "Baz", "Quux"]. Each row in my TreeView represents an entity that can only deal with a subset of these values. For example, the first row might deal with "Foo" and "Bar", and the second, "Bar" and "Quux". I want a ComboBox column to allow each row to select one of the values it can deal ...
How do I really disable gtk treeview interactive search? The docs say to set_enable_search(False), but if I do this, CTRL+F still causes an annoying search pop-up to appear. Connecting to start-interactive-search and returning True doesn't work either.
...
Hi all, I have datatree (kind of folder tree) that each folder represend as node. Next to it, I have datagridview that each row in it represent the treenode content.
What I need is to drag and drop node from the treeview to the datagridview and vice versa.
Does anyone have an idea or reference of how to do it?
...
Hi everybody.
I am working on a gtk+ application written in python. I obviously use pygtk. My application is about collections of videos. It's a kind of F-spo or picasa, but for video.
As you can see in these two apps, you have a central area where you can see all of your photos with tag thumbnails under.
In my app, I want to implemen...
First, sorry for my bad english.
I have an EF entity that looks like:
class Item
{
public Guid Id { get; set; }
public string Title{ get; set; }
public Guid? ParentId { get; set; }
public ICollection<Item> Items { get; set; }
}
Now i want to load the data from that entity on a treeview... the best I could get is...
I am trying to attach some handlers to each TreeViewItem as they are loaded and then remove the handlers as they are unloaded.
Here is the Code that I have in my custom control which inherits from TreeView:
public ModdedTreeView()
{
this.AddHandler(TreeViewItem.LoadedEvent, new RoutedEventHandler(ItemLoaded));
...
Hi all i have written a code to rename the node of a treeview. While editing if i erase all the text and hit enter it is getting renamed but if the user enter some text with an extensioin .txt then only i would like to rename that name.
I debugged my solution erasing all the text gives "" so that it is not checking the condition what to...