Questions tagged [expandable]

Expandable refers to a property of some UI elements which can be expanded by a user gesture such as hovering or clicking on them.

301 questions
1
vote
2 answers

How to disable the expansion icon if number of lines is within limits? Flutter

Sample Screenshot I want to disable the expandable icon if the number of lines is within the threshold limit. I am using the ExpandablePanel widget, but I am not able to figure out how to disable the icon.
1
vote
1 answer

expandable drop down inside tableview in swift4

I tried, expandable drop down inside tableview in swift4 but not worked my below code. if i changed custom model class to String it is working. my requirement use below custom model class. please check my below code. class ExpandViewController:…
Ajay
  • 23
  • 3
1
vote
3 answers

How to make a scrollable div expand to full height on scroll and click

I'm looking to update the below section if possible. I need to have a div 250px high but lets you scroll through all of the content. Once you have scrolled to the bottom of the 250px window, it automatically expands to show the full content. Also…
Richard
  • 35
  • 1
  • 8
1
vote
1 answer

How to make Bootstrap Collapse hide content at first?

I have facing problem to make Bootstrap Collapse hide content at first? Now my coding will direct show the title and the content, I want just to show the title first. Below is my coding:
user11337935
1
vote
0 answers

Angular 7 material dynamically display mat-table data inside mat-table (secondary row)

I am trying to build a mat-table with the expandable row like feature where additional data can be displayed inside of the mat-table's rows. I followed the example for expandable rows, however, I want the secondary table to always be set to…
R Shavers
  • 91
  • 1
  • 1
  • 6
1
vote
0 answers

Expand and collapse the cells from the selected Section in UICollectionViewController

I have been trying to collapse and expand the cells in collectionView when the section header is clicked but all the headers were expanding rather then the selected header. This is my code class ExampleHomeController: UICollectionViewController,…
user 10424120
  • 53
  • 1
  • 4
1
vote
0 answers

Show "Read More" at the end of the text not working correctly

I wanted to add "Read More" functionality after a few lines of text. I've referred to this solution provider here Below is the result of my code: Before Read More is Clicked: After Read More is Clicked: There are two problem arises: 1. I wanted…
Mei Yi
  • 341
  • 3
  • 14
1
vote
0 answers

ionic3 error Unexpected directive 'ExpandableComponent' imported by the module 'AppModule'. Please add a @NgModule annotation?

i am working on a ionic 3 app in which we have create the custom expandable component from the CLI but it got below error in the console : Unexpected directive 'ExpandableComponent' imported by the module 'AppModule'. Please add a @NgModule…
Kapil Soni
  • 1,003
  • 2
  • 15
  • 37
1
vote
1 answer

Custom Expandable TextView

I was trying to create a Custom TextView with the expand/collapse capability. Does anyone have any idea about how to achieve this, extending TextView and overriding onDraw method?? (or any other better approach) ? thanks a lot!
Sebastian Corradi
  • 1,353
  • 2
  • 14
  • 25
1
vote
1 answer

ExpandableCardView Text Not Fully Visible

I am using this library to achieve expandable cards and it works fine except for two major concerns viz: It requires the min api level to be 21 and previously my min api level was 16. Will this work well on lower devices. There's an option to…
Andromeda
  • 230
  • 1
  • 7
  • 22
1
vote
4 answers

Expanding the expandable table View cells to further extent

I created the Expandable table view cells which is like Below mentioned image. Library used is JExpandableTableView. Code for Creating This ExpandableTable View is given below : Model For Sections: class SectionInfo: NSObject { var cells =…
Shivam Tripathi
  • 1,405
  • 3
  • 19
  • 37
1
vote
2 answers

Cannot wrap a horizontal scrollable ListView in a Column

I am trying to create the following UI in Flutter. Here is what my code looks like and the corresponding output. body: new Column( children: [ getTabs(), new Container( child: Expanded( child: new…
Samarth Agarwal
  • 2,044
  • 8
  • 39
  • 79
1
vote
0 answers

Code Overwrites Information Passed From Strings.xml

I am creating an expandable layout that has a header and child. I am passing information to both with strings.xml. However, it seems to overwrite my website and phone number with the latest section added. For example I want the first section to have…
1
vote
1 answer

Get Number of Lines in UItextView

I am trying to build an app that supports variable size text box depending on the content. The size of the UITextView should increase up to 4 lines and then activate the scrolling. I am not able to get the number of lines when the text is being…
1
vote
1 answer

implement design to expandable text view when the textview is collapsed and expanded

I have added expandable TextView to my app as shown in the image below i want to add desing to it that can be expanded as well when i press on the expand button please have a look below at the design i want to do can you please let me know how…
abdo
  • 93
  • 1
  • 11