Questions tagged [collapsable]

212 questions
1
vote
1 answer

How to shrink SectionList sections in React Native?

Is there any way to be able to shrink a SectionList section, when the user taps on the section title? Something like the way that Reddit comments work on the mobile app, where the comments shrink and expanding accordingly.
Michael Hsu
  • 950
  • 1
  • 9
  • 25
1
vote
1 answer

adding a menu or a dropdown to smaller screen sizes

How can I make categories listing appear in a dropdown on smaller screens? Similar to the concept where a navigation bar with pages is substituted for a hamburger menu on smaller screens. So on the current website that I'm designing using Jupiter…
1
vote
2 answers

Change parent div to active when child is active

I'm working on a CSS Collapsible menu that I created from the tutorial here. I have a container div that has a button (accordion), that when active, displays content (panel div). When the button is active, I want to put a border around the…
mark914
  • 37
  • 9
1
vote
1 answer

Expand/Collapse Nested Repeater

I am trying to implement a nested repeater with outer repeater showing categories (initially collapsed) and when user clicks + or - inner repeater expands/collapses. I have the repeaters but when I clicked on + both inner repeaters expanded. I tried…
NoBullMan
  • 2,032
  • 5
  • 40
  • 93
1
vote
1 answer

How to avoid a page from reloading on submitting a form inside a collapsible panel?

In my Bootstrap application, I have included collapsible panels script (HTML,CSS and Jquery) through this link: https://codepen.io/nhembram/pen/XKEJJp. Though I have replaced the content of these panels with horizontal forms in Bootstrap. I am…
1
vote
1 answer

Pure Javascript-Generated Bootstrap4 Collapsible Won't Expand or Collapse

So, I'm very new at Javascript. I'm trying to generate a Bootstrap 4 collapsible component using pure javascript. I can build a statically generated Bootstrap 4 collapsible all day long that works just fine. The problem comes in when I try to…
riverRook
  • 13
  • 2
1
vote
0 answers

SAS collapse pivot table column in Excel with DDE

I want to manipulate an existing Excel sheet with DDE using SAS: I have the following code (be careful! I use z for r(ows) and s for c(columns) because of German language settings in Excel): option noxwait noxsync; x call "C:\Program Files…
zuluk
  • 1,557
  • 8
  • 29
  • 49
1
vote
0 answers

Expandable/collapsible JPanel that smoothly resizes JFrame to the left

I'm trying to create a Java window (with a JFrame) that is able to resize itself when the user clicks a button in order to display some extra components (JLabel and JButton components) in a JPanel. These extra stuff panel is hidden when the window…
Munniz
  • 11
  • 2
1
vote
0 answers

Bootstrap v3 - Can't center toggle menu + vertical-align it to bottom

My goal is to have my website as 100% device height, without a scroll bar at all if not imposed by text size. It's a 6 by 3 grid: My Name (col-4) | Menu (col-8) My Photo (col-4) | My Text (col-8) Blank space (col-4 using offset) | Footer…
1
vote
0 answers

android: Expandable listview going inside tablayout

i have a coordinator layout with collapsable toolbar and below it i have a tablayout and a viewpager and the viewpager contains an expandable listview. When the toolbar collapses the viewpager goes inside the tablayout even if i have specified…
1
vote
1 answer

Qt, how to collapse column in QTableView

When I hold the right border of column in QTableView and try to change it`s size, all works fine except one thing: there is a minimal size of column, something about 20 pixels. But I need a possibility to collapse this column to zero size, if I wish…
remaL
  • 21
  • 1
1
vote
2 answers

How to partially (re)apply bindings to descendants with knockout?

I created a custom knockout binding that wraps a given div in an expander. My custom binding moves the given content div to the contant-container div of the expander. After moving the content, the knockout bindings of the content child nodes would…
Stefan
  • 10,010
  • 7
  • 61
  • 117
1
vote
1 answer

getting button to show in collapsed navbar

This is my first time trying to build a website. I so far have my navbar set up but I want to make sure the right elements collapse into a dropdown button when I make the screen smaller. So far I have this and the button does not show up even…
1
vote
3 answers

Bootstrap: Change Color of Panel Heading onClick

Hi I gave myself a crash course in bootstrap last night and I'm having a lot of fun with it. I found online a collapsible panel that works really well for what I am hoping to achieve in my navbar. However I want the background color of the panel…
webforwork
  • 13
  • 1
  • 1
  • 3
1
vote
0 answers

Elasticsearch - how to do field collapsing and get Distinct results? (actual records, not just counters)

In relational db our data looks like this: Company -> Department -> Office Elasticsearch version of the same data (flattened): { "officeID": 123, "officeName": "office 1", "state": "CA", "department": { "departmentID":…
Steve V
  • 143
  • 3
  • 6