tableview Questions
4
How to add custom image to delete button when swiping cell from right on UITableview as shown in the below image?
func tableView(tableView: UITableView, editActionsForRowAtIndexPath indexPath: ...
Mannerly asked 7/4, 2016 at 9:32
5
Under certain circumstances, UITableView didSelectRowAtIndexPath is being called twice causing the error Pushing the same view controller instance more than once is not supported.
Here's are the ...
Contortion asked 16/4, 2011 at 16:42
4
Solved
I know that this has already been asked before, but none of the other responses have helped me, so I'll ask myself...
I am trying to delete all my existing rows from a TableLayout because I want t...
Oz asked 4/9, 2011 at 23:12
3
Solved
I want to block a cell to be reordered.
For example:
I have a tableview with 4 rows but don't want that the first cell can be reordered.
Is that possible?
I've tried to use:
if(indexPath.row =...
Gunnar asked 27/2, 2013 at 17:15
30
Does anyone know how to change the background color of a cell using UITableViewCell, for each selected cell? I created this UITableViewCell inside the code for TableView.
Juryrig asked 10/3, 2010 at 15:41
6
Solved
Here is what I have at the moment.
How do I refer to this so that I can change the text colour to match my index list? The sectionForSectionIndexTitle worked well for adding in the correct secti...
Erogenous asked 21/9, 2016 at 10:40
3
Solved
I got a validation function that loop through my table view, the problem is that it return nil cell at some point.
for var section = 0; section < self.tableView.numberOfSections(); ++section {
...
Grimona asked 2/7, 2015 at 15:35
2
Solved
I have a today widget that contains two things:
A UILabel
A UITableView
In my viewWillAppearI set the label to be visible and my tableView to be hidden and I set the label text to "Loading". Se...
Rime asked 30/12, 2015 at 10:4
0
I have TableView and when my program start TableView has only one row, also I have ArrayList of ComboBoxes and create one ComboBox for each row in the TableView, when user edit (Product Name) cell ...
Luncheonette asked 9/3, 2020 at 10:40
4
Solved
I have a tableview with three rows. I am trying to make the table rows have rounded corners and also a shadow effect around the entire tableview. For some reason, I cannot make the tableview both h...
Scholz asked 19/11, 2015 at 0:31
5
I've got a tableView inside of a pageViewController and when swiping on a cell to bring up the option to delete the cell the gesture is only recognized under certain circumstances, say you swiped v...
Ecchymosis asked 18/4, 2016 at 5:28
2
Solved
I want to disable my scrollview bounce when scroll down.
When I disable bounce vertically I can't refresh my table.
Any suggestion how to disable bounce, but enable refresh table?
I'm refreshin...
5
I have a TableViewCell and two button to switch different constrain.
I want to update it's height constrain and cell height.
like following pic1
when I click buttonB, the view will change like pic2...
Soldo asked 26/10, 2018 at 10:58
2
Solved
I have a TableView inside a ViewController.
I made the TableView stretch to the View SuperMargings (with constraints) and disabled all SafeArea Inset options but my TableView is still under the Saf...
Ermey asked 17/12, 2019 at 11:16
7
Solved
I have a tableView and in every tableViewCell is a collectionView.
I am trying to change the collectionView size with this code:
func collectionView(_ collectionView: UICollectionView,
layout ...
Constringe asked 13/10, 2016 at 11:35
26
Solved
3
Solved
I have a list (say 100) of Widgets I want to display on a screen; the screen can fit about 10 items. In terms of efficiency of painting, should I be using a ListView.builder, or a Table with a Sing...
13
Solved
Hi I have a TableViewController with two static cells, however when displayed, it shows the two static cells, and then all the other empty cells for the tableview. However I don't want to display t...
2
Solved
I'm making app with using Xamarin.form.
I created tableview that has three sections from xaml.
And I want to hide or remove last section (entire section, with sectionTitle).
But unfortunately, Xa...
Pergolesi asked 7/5, 2016 at 20:25
6
Solved
I want to customize TableView section header and to leave default background color. I use - (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section. I need to change ...
Scintillator asked 5/1, 2012 at 12:28
3
Solved
I have a TableView control which consists of several columns containg different types including Strings and Numbers. I have been trying to write a suitable callback function for an editable Number ...
2
Solved
In SwiftUI, we have List to represent reusable items. Just like UITableView in UIKit.
Static lists builds like this:
List {
Text("cell")
Text("cell")
Text("cell")
Text("cell")
}
But seems l...
2
Solved
I am experiencing an issue when resizing a TableView which contains text items that wrap around TableCell items. Upon resizing, hidden values are resized but the visible items do not re-calculate t...
6
Solved
When I dismiss a modal view controller I want the tableview to update, I am using the form sheet presentation style on iPad so the viewWillAppear and the viewDidAppear methods will not work
2
Solved
I want to animate a subview of a custom TableViewCell. To perform this animation, the cell needs the width of this subview, which is laid out by an auto-layout-constraint.
However, when I use the ...
© 2022 - 2024 — McMap. All rights reserved.