Questions tagged [collapsable]

212 questions
5
votes
2 answers

Knockout, JQMobile, and generating a collapsible-set doesn't quite seem to work right

I've checked out a number of samples, but none are quite the same as what I'm trying to do. What I've got works, mostly, but it doesn't quite work right. Here's a fiddle to illustrate the issue. http://jsfiddle.net/5yA6G/4/ Notice that the top set…
DarinH
  • 4,868
  • 2
  • 22
  • 32
4
votes
3 answers

How to create a HTML div collapsible both horizontally and vertically with pure CSS/JavaScript, i.e. no jQuery, no Boostrap etc.?

I'd like to create something like this: https://www.w3schools.com/howto/howto_js_collapsible.asp But it should expand (and collapse) both vertically and horizontally. You can imagine it as a button that expands into a big div. But, in fact, it is…
Pavel Foltyn
  • 175
  • 3
  • 13
4
votes
1 answer

collapsible panels with overlay in border layout extjs

I am using border layout with two panels in east and center as its items and by default if i make the east panel collapsible then it will resize the center panel when expanded or collapsed. I want to know if this nature can be changed in such a way…
Vinay
  • 723
  • 9
  • 32
4
votes
1 answer

is it possible to build a collapsible treeview list using PHP only (no JS)

I have two functions that together build a treeview list on my website. It's based on recursion and allows to build a treeview with an unlimited number of nodes. But I can't make it collapsible. For example: script should determine whether…
remort
  • 304
  • 3
  • 9
3
votes
4 answers

Jquerymobile adding dynamic collapsible divs

Possible Duplicate: Dynamically adding collapsible elements I would like to know how I could dynamically add a collapsible div, such a thing can be done with Jqm listviews, calling lisview('refresh') after here is the testing…
user1125394
3
votes
0 answers

How can I create collapsible text using Scala Swing

I simply need to have collapsible text in my Scala application. I am already using the Swing wrapper. Each block of text is stored in it's own object. I just need help finding out how to add the collapsible icons and features via Swing. Thanks in…
user947871
  • 339
  • 6
  • 17
3
votes
1 answer

Prevent auto-scrolling to top before sliding to new page JqueryMobile

I have several collapsible blocks (divs) in my page with listviews inside them. The lists are pretty long (about 100-200 elements each.) When I un-collapse a block, scroll down a page, and click/tap one of the element in the list, the page scrolls…
locorecto
  • 1,178
  • 3
  • 13
  • 40
3
votes
1 answer

Collapsible populated within Javascript won't work

I am trying to create a collapsible that is populated within a Javascript and written to the HTML, but for some reason the results don't expand/collapse like they should. Most of the code is found on W3Schools and edited to fit my…
j.Doe
  • 87
  • 6
3
votes
1 answer

jQuery table row expand/collapse

I've got a table and it has rows that are collapsible when clicked on the table heading. Problem is it doesn't seem to be very smooth, there's a lag and jump once I click on the header and when the content shows. Does anyone know how to fix…
calebo
  • 3,312
  • 10
  • 44
  • 66
3
votes
2 answers

Change background colour of panel heading when toggled in Bootstrap collapsible panel group

I am trying to create a collapsible panel group using Bootstrap, and I would like the panel heading to change background colour when the panel group is not collapsed (one colour for collapsed panel group, one for unwrapped). I have tried using the…
3
votes
0 answers

Accordion-Collapse-react-native with scrollview

I'm trying to add an accordion type view in my project and I'm using this library from github Accordion-Collapse-react-native I was able to successfully integrate the library and it works but the problem is when I put it inside the scrollview it…
3
votes
1 answer

Keep expanded mat-table from collapsing row when datasource updates (Angular Material)

I am building an app which uses live data that should update every few seconds. I am using mat-table, which displays an addition mat-table inside the collapsable row. The collapse works fine, but when I update the datasource it collapses. Is there…
3
votes
1 answer

Materialize CSS - Collapsible & Date Input

I have problem with materialize collapsible and date picker. Collapsible is not even opening on click and the date picker too. Date picker placed in Personal details - collapsible item. Someone please help me to fix collapsible and date picker.…
gwthm.in
  • 638
  • 9
  • 24
3
votes
1 answer

Export or Download d3.js sunburst / collapsible tree charts as pdf file

I need to download my d3.js collapsible tree chart and sunburst chart as PDF file . I tried using jspdf.plugin.svgToPdf plugin but it doesnt work. Could someone guide me in downloading the charts as pdf ? My source code for collapsible …
3
votes
1 answer

Meteor + Materialize: collapsable in for each doesn't work

I have a collapsable (materialize) whose elements are created from a for each, however the "dropdown" doesn't work. Everything that isn't in the for each works. How can I fix this problem? jobList.html