Questions tagged [expand]

Expand: as in collapsible views. They take more area, and give full detail, links, composite view, only when expanded. These can be Tree-View, Hide-able divisions, Popup-up screens, Combo-boxes and so on.

Expand: as in collapsible views. They take more area, and give full detail, links, composite view, only when expanded. These can be Tree-View, Hide-able divisions, Popup-up screens, Combo-boxes and so on.

1098 questions
22
votes
5 answers

How do I use Python to easily expand variables to strings?

What's a nice idiom to do this: Instead of: print "%s is a %s %s that %s" % (name, adjective, noun, verb) I want to be able to do something to the effect of: print "{name} is a {adjective} {noun} that {verb}"
Lionel
  • 3,188
  • 5
  • 27
  • 40
22
votes
1 answer

Odata - nested $select and $expand

http://services.odata.org/V4/Northwind/Northwind.svc/ I'm trying to get all Customers, their Orders and corresponding Order_Details at once and using nested $expand for that. To query the data I'm using following link:…
VladL
  • 12,769
  • 10
  • 63
  • 83
22
votes
1 answer

WPF DataBound treeview expand / collapse

I'm just trying to find a way to control the expand / collapse of the TreeView nodes through the object they're bound to. The object has an IsExpanded property, and I want to use that to show the TreeView node itself expanded or collapsed based on…
Carlo
  • 25,602
  • 32
  • 128
  • 176
20
votes
2 answers

In VS Code file searching, can I expand (or collapse) all results?

In the Search pane of the program, after I hit Enter, all files are listed, with some expanded to show results in a file, and others collapsed. I'm wondering firstly what determines the expansion of any given file, and secondly what I can do to…
Lenoxus
  • 545
  • 1
  • 4
  • 19
19
votes
11 answers

How to expand and collapse parts of NSSplitView programmatically?

I want to replace RBSplitView with NSSplitView in my existing project. The application is now leopard only and I would like to replace RBSplitView with the new NSSplitView shipped with Leopard. However, I'm missing RBSplitView's handy methods expand…
cocoafan
  • 4,884
  • 4
  • 37
  • 45
19
votes
5 answers

How to expand an array dynamically in C++? {like in vector }

Lets say, i have int *p; p = new int[5]; for(int i=0;i<5;i++) *(p+i)=i; Now I want to add a 6th element to the array. How do I do it?
Varrun Ramani
19
votes
4 answers

How to expand all the nodes of treeTable?

I have a tree table and two buttons: one for collapsing the tree and the other for expanding, but they don't work. At the backing bean I did root.setExpanded(true); and root.setExpanded(false); but it doesn't work.
BenMansourNizar
  • 1,558
  • 4
  • 21
  • 42
17
votes
6 answers

Show/Hide Table Rows using Javascript classes

I have a table that kind of expands and collapses, but it's getting too messy to use it and IE and Firefox are not working properly with it. So, here's the JavaScript code: function toggle_it(itemID){ // Toggle visibility between none and…
user2957683
  • 173
  • 1
  • 1
  • 4
17
votes
4 answers

R: how to expand a row containing a "list" to several rows...one for each list member?

I am sure there is a simple solution to this, but i am going nuts trying to find it. Any help is very much appreciated. I have a data frame with 2 columns; "pro" and "pep". pro is formatted as factors and contains entries in the form 220;300;4…
user2938867
  • 187
  • 1
  • 2
  • 9
17
votes
5 answers

How to expand all nodes of a WPF treeview in code behind?

I might be suffering of Monday's dumbness, but I can't find a nice way of expanding all treeview nodes after I've added them in code behind (something like treeView.ExpandAll()). Any quick help?
Padu Merloti
  • 3,219
  • 3
  • 33
  • 44
15
votes
2 answers

Swing JList with multiline text and dynamic height

I already read/tried these posts but that didn't help: Display multiple lines within a Jlist cell How to get multiline for a Jlist text? Problem displaying components of JList What I need is a ListCellRenderer which returns a panel with an icon on…
haferblues
  • 2,155
  • 4
  • 26
  • 39
14
votes
9 answers

How to grow a div horizontally by its content?

please, can someone explain to me, why the red div isn't expanding to the right? It stops where the screen ends. What do I have to do, to make it expand? One thing that works is to "display: table-cell" the red div but I was wondering if there's…
Ecir Hana
14
votes
3 answers

ExpandableListView expand only on a specific Button?

well i´m trying to create a ExpandableListView like Spotify it does... But i don´t have any idea how do disable the LinearLayout to act like a button (Expand the list) I have created a image which should describe what i like. I like to have the…
mkl
  • 627
  • 1
  • 8
  • 18
13
votes
6 answers

Expanding all details tags

Anyone know if there is a way to create an expand all link for pages that use the semantic
tag? I managed to create a link that would auto-open closed details: Link to details section that expands details section as well Now I'm trying to…
testing123
  • 761
  • 6
  • 13
  • 37
13
votes
1 answer

Expanding Java Memory-Mapped Byte Buffer

Is there a way to expand the Java memory-mapped byte buffer such that the new size is reflected back to the mapped file on disk?
geeko
  • 2,649
  • 4
  • 32
  • 59
1
2
3
73 74