Questions tagged [treestore]

16 questions
3
votes
1 answer

GTK3 - Python Treeview Filter Function

I have a simple GTK3 GUI with a treeview and treestore. I need to filter the column with data3 string and show only data3 row. But it also hides data3 row. Because parent row of the data3 column is also hidden. It works when I use return…
demirod
  • 81
  • 15
1
vote
2 answers

Creating a Hierarchical Gtk.TreeStore with Unkown Dataset Length

All the examples I've seen of creating a hierarchical Gtk.Treestore use a file directory to populate the Store (see Create tree hierarchy using os.walk and gobject gtk+3). My data is the…
John
  • 178
  • 10
1
vote
1 answer

How to redraw a treestore in gtkmm manually (expanders are not correct)?

I have problems with the redrawing of expanders in a TreeStore/TreeView. When I call Example::Customize() for the first time, I can see the expanders. When I call Example::Customize() for the second time, I can see no expanders until I move the…
1
vote
2 answers

Can not to implement filterBy method for TreeStore in Ext JS?

I'm following this fiddle which filters TreePanel. My aim is to hide several TreeStore items depends on logged account's username. I've used the idea of fiddle on login method of my application but now it is showing any of item! How can overcome…
Nuri Engin
  • 813
  • 10
  • 38
1
vote
0 answers

extjs convert flat data to treestore

I have rest api which gives me data in this form
Martin Barnas
  • 185
  • 1
  • 13
0
votes
0 answers

How to handle a GTK.CELL_RENDERER_TOGGLE into a GTK.TREE_STORE to activate/desactivate each row independiently

I have a TREE_MODEL in GTK. One of the columns is a GTK.CELL_RENDERER_TOGGLE to determine which rows are selected. I've tried to configure a Callback to activate/desactivate each toggle independiently but i have only achieved a callback that…
0
votes
1 answer

Moving of scroll bar up and down hide records from hierarchical records tree from UI. gwt and extjs

I am using tree in treepanel and treestore to show hierarchical records on UI for one of my application. When I add some no of records vertical scroll bar is appear. I am still adding records. When I do scroll bar up and down some records are…
0
votes
1 answer

ExtJs Tree Panel, Tree Store from Json API

I am trying to make a tree representation in ExtJS. I have a service return this Json File. Json File can u help me in building the Model , Store and view to build the tree? thanks in advance.
allouf
  • 15
  • 3
0
votes
2 answers

Extjs TreeStore, more than one asynchronous requests, treepanel rendering dislocation

My extjs version is 6.5,I created a treepanel and GridPanel. When I click the record in GridPanel, the treeStore of treepanel will be triggered to load data. If I click the first record, TreeStore will load more data and slow down, but I have…
huan.gao
  • 21
  • 4
0
votes
0 answers

How to add new root as parent for existing nodes in tree-store data in Extjs

I am working on a tree-combobox(tree-panel inside combobox) where I have a tree-store to load tree-combobox. I want to provide the feature to select all, so want to add a new root which will be the parent for existing tree-store…
Sunil Bamal
  • 87
  • 1
  • 14
0
votes
2 answers

How to pass treestore in combobox in Extjs

I have a combobox which require a treestore as its store. I have tried below code but its not working. Ext.define('DemoGroupCombo', { extend: 'Ext.data.TreeStore', fields: ['text', 'value'], proxy: { type: 'rest', url:…
Sunil Bamal
  • 87
  • 1
  • 14
0
votes
1 answer

Extjs how to create a new instance of the store without modifying the old one

I have a store that I call like this: var store = Ext.getStore('mysotreid'); mystoreid matches with mycomponent.mystore. then I create a new instance of the store like this: var newStore = Ext.create('mycomponent.mystore', { autoDestroy:…
assembler
  • 3,098
  • 12
  • 43
  • 84
0
votes
1 answer

Extjs 6.2 - How to Set the size of the nodes on a TreeStore

Using Extjs 6.2, it seems that I can't edit the size of the nodes on my TreeStore. Ext.define('Ext.ux.bnp.menu.ApplicationMenuPluginStore', { extend : 'Ext.data.TreeStore', alias : 'store.menustore', width : 2000, //doesn't work here fields : [ { …
Chazz1
  • 133
  • 1
  • 4
  • 16
0
votes
0 answers

Exceptions with Ext JS 6.5.3 TreeStore implementation

I have downloaded Ext JS 6.5.3 evaluation package and using it to evaluate migration in my project. I tried migrating from Ext JS 4.2 to the latest version Ext JS 6.5.3. Due to nature of my existing project, currently I cannot use Sencha Cmd to…
Dhiraj
  • 9
  • 1
  • 2
0
votes
0 answers

Extjs 6.5 Treestore not loading data from server

I'm migrating a small app from Extjs4 to 6.5. The problem is the treestore, which is very simple, but I cannot find out why the server routine is not called and also the exception-events are not called. I must overlook something, but I cannot find…
Arno Voerman
  • 87
  • 2
  • 9
1
2