collapse

Why does the TreeView control collapse all the children nodes?

When I programmatically collapse a TreeView node like this: treeView1.Nodes[0].Collapse(), all of the children nodes collapse under it, which is really annoying. This doesn't happen when you manually click on the node to collapse it and the children nodes remember their collapsed/expanded state. How do I prevent this from happening? ...

Visual Studio Setup when first viewing a page

Is there a way to setup visual studio 2008 to automatically collapse regions/functions/methods when the code behind is first opened? ...

Can't show/hide table rows like the divs for some reason

Hi guys, I've used animatedcollapse for my div sliders with no flaws. However, I now need to use a table row slider and it isn't performing the same at all. Here is a portion of the table I am using so you get an idea. <table> Reply to post... </div> <script type="text/javascript"> ...

jqgrid : is it possible to insert a section-roll-up bar every 'n' records?

With the jqGrid is it possible to insert a section bar every 'n' records where clicking on the section-bar would toggle section expand/collapse? I am looking for a way to control the displayed height of the grid when I have set its height=100%. Here is pseudo-html showing such a section-bar inserted every 5 rows. The last section has o...

In R, how to collapse categories or recategorize variables?

I am sure this is a very basic question: In R I have 600,000 categorical variables - each of which is classified as "0", "1", or "2" What I would like to do is collapse "1" and "2" and leave "0" by itself, such that after re-categorizing "0" = "0"; "1" = "1" and "2" = "1" --- in the end I only want "0" and "1" as categories for each of...

Expand & collapse in asp.net with JQuery

Hi All, i am using asp.net 2.0 and c#. I have two divs and , what I want is this that when I click on the link, div1 will collapse and div2 expand and the vice versa. I have to do this in JQuery. Please help, it's urgent. Thanks in advance. ...

How 2 resolve my Expand & Collapse effect or do u have any other solution 4 this collapse and expand

Hi, According to my project when i click on the image it should expand and again clicking on the same image it should collapse and there should be multiple number of images near by, but none of them should overlap or merge, i have to implement it on my canvas so any one please help to find the solution for this or please tell me another...

How to collapse blocks of code in Eclipse?

Some days ago my Eclipse was working fine and a +/- appeared in every block that could be collapsed (functions, classes, etc.)... but now it does appear, and I don't know how to activate that feature again. I know this question is kind of silly, but it's driving me nutts. If it helps, it's Eclipse Helios, running on a Gentoo Linux box. ...

How do I minimize or restore an external app with the correct animation effect in Vista/Win7?

I'm writing an app that can minimize or restore other, external apps' windows. However, when I do this, the windows will usually just minimize or restore directly, without the zoom/collapse animation effect that you normally see. Or, in some cases, minimizing will cause the window to fade, but not collapse. I've tried posting or sendi...

WPF Ribbon - Auto Collapse when Height is Less than 250

Salam, Can any one help me please with the WPF Ribbon, I noticed that when you give the window that contains the ribbon control height less than 250 the ribbon auto collapse. after it auto collapses if you explicitly set it's visibility to Visible only the title bar is shown without the tabs. Any means to stop this behavior? ...

How to auto-collapse certain comments in Visual Studio 2010?

A colleague of mine uses a abomination text editor that routinely leaves comment blocks all over the code. Needless to say, this is driving me rather mad. The comment blocks look like this: /* EasyCODE ) */ /* EasyCODE ( 0 WndProc */ /* EasyCODE F */ i.e. they all start with EasyCODE and most of them span several lines. Thankfully, V...

Adding animation to a ListView in order to expand/collapse content

I have a list view which uses a custom adapter in order to show my custom content. Its layout is the following. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent"> <LinearLayout android:...

Jquery Accordion Expand All Collapse All (Solved!)

I was looking for a way to include an "expand all" and "collapse all". I've updated the demo with the new code using a simple jquery accordion. The original code should be credited to Ryan Stemkoski at http://www.stemkoski.com/stupid-simple-jquery-accordion-menu/ Demo: http://jsbin.com/ucalu3/5/ $(document).ready(function() { $('.q...

[iPhone app] Dynamic expandable UITableView with sections

Hello, I am currently creating a UITableView with expandable/collapsable sections. I get data from the Internet in JSON format, storing it in arrays just like this : {Section 1 {s1 data 1, s1 data 2, ... }, Section 2 {s2 data 1, s2 data 2, and so on}} Sections can be alphabetical letters, year number or whatever. I create my table v...