Questions tagged [treecontrol]

49 questions
1
vote
0 answers

CSS Flexbox grow

I am using Angular tree control Light Style (http://wix.github.io/angular-tree-control/) for my left panel (.tree). I have items displayed next to the tree (as displayed in Image 1). As my tree expands, the .graph item moves down as shown in Image…
ellier7
  • 417
  • 4
  • 9
  • 23
1
vote
1 answer

how to get list of selected nodes in angular ivh tree view?

I am new this ivh tree, https://github.com/iVantage/angular-ivh-treeview I have been successfully able to configure this library, however I am not able to get the list of selected nodes, is there a way to get list of selected nodes programmatically?
josh_boaz
  • 1,963
  • 7
  • 32
  • 69
1
vote
0 answers

AngularJS Tree Control Select Node Binding

Currently I work on a project that creates Nodes and Angular Tree Control renders the Nodes. When I create a Node for example or order a Node (move up or down in the tree), I want that the tree should be updated and the last Node should be selected…
Jarah
  • 43
  • 1
  • 7
1
vote
1 answer

MFC C++ Populate data in Tree Control

Ok this might seem a pretty simple question but I'm new to working with MFC. My task is simple, I dragged dropped a Tree Control and now I want to populate some data in it.I've followed some online examples like in the link…
Omar Iqbal
  • 81
  • 1
  • 2
  • 8
1
vote
0 answers

Using a WiX Selection Tree control, when I select Feature 1, I want Feature 2 to be selected automatically

I have three features in a Selection Tree control. I would like Feature 2 and 3 to be independently selected and installed but if Feature 1 is selected to be installed I want Feature 2 to be automatically selected since Feature 1 depends on it. …
1
vote
2 answers

MFC tree control notification is triggered twice

My problem is that the following function is called twice: ON_NOTIFY(TVN_SELCHANGED, IDC_TREE1, &MainHamsterDlg::OnClickTree) void MainHamsterDlg::OnClickTree(NMHDR* pNMHDR, LRESULT* pResult) { CTreeCtrl* pCtrl =…
Klasik
  • 872
  • 1
  • 9
  • 29
1
vote
1 answer

Axapta: Update FormTreeControl after image change

In my other methods (data, text, etc.) the setItem method works fine to display changes made to a tree item. However, calling setItem after changing an item's icon doesn't seem to have any effect. What is the best way to update the tree item so…
Brad
  • 1,357
  • 5
  • 33
  • 65
1
vote
2 answers

How to make a wide virtual Tree-View Control with only two levels fast?

I basically want to have the same virtual performance I can get with a List-View control. With a List-View control you can set an ItemCount and in the LVN_GETDISPINFO notification you then fill in the information for the items once they are scrolled…
bcause
  • 1,303
  • 12
  • 29
1
vote
1 answer

Remove image from treectrl items

I add images to wxpython treectrl items with tree.SetItemImage. Later the image shall be removed. How can I do it? I found only the SetItemImage method, I have not found anything like RemoveItemImage.
Atis
  • 184
  • 1
  • 7
1
vote
2 answers

Prevent drag drop on child nodes of DotNetBar AdvTree/TreeControl

I'm implementing a TreeControl using the DotNetBar Advtree component. However I seem to be struggling to find the property to make it impossible for a particular node to have any children. What I want to stop the following below; For example an…
wonea
  • 4,783
  • 17
  • 86
  • 139
1
vote
2 answers

Win32 TreeCtrl TVN_ENDLABELEDIT memory allocation

I have a Win32 TreeCtrl where the user can rename the tree labels. I process the TVN_ENDLABELEDIT message to do this. In certain cases I need to change the text that the user entered. Basically the user can enter a short name during edit and I want…
null
0
votes
1 answer

How can I auto-scroll a wxTreeControl widget while dragging with the mouse?

I have a wxTreeCtrl widget with scroll bars, where I want to drag and drop items on other items. But when I drag an item, how can I make the control automatically scroll invisible items into view?
Ranjith
  • 796
  • 8
  • 27
0
votes
1 answer

How to get the TreeNode a context menu item is attached to

In a Winforms application, I have this code: private void BtnNuevoGrupo_Click(object sender, EventArgs e) { TreeNode newNode = TreDevices.Nodes[0].Nodes.Add("Nuevo grupo de validación"); TreDevices.Nodes[0].Expand(); …
jstuardo
  • 3,901
  • 14
  • 61
  • 136
0
votes
1 answer

How to draw a addition line in MFC TreeControl?

As this picture show: The blue line is what I want. However, I can't find anything about it on the Internet. All I know is that create a class inherited TreeControl, by doing so, it become dragable.
BoKuan Liu
  • 21
  • 1
  • 6
0
votes
1 answer

Angular tree control ---- filter the nodes of a tree

I am following the link https://wix.github.io/angular-tree-control/ to explore different features of angular tree control.From the documentation could not properly understand what values i should give for filter comparator and filter expression to…
GrailsLearner
  • 485
  • 1
  • 11
  • 23