Questions tagged [tableview]

A table view is a means for displaying and editing hierarchical lists of information. For example: UITableView in Cocoa Touch.

7929 questions
1
vote
1 answer

How to move tableview up when some particular textfield are hidden by keyboard?

I am having a tableview with textfield present in the tableview cell's.when i try to enter text particularly in Textfield present at the bottom of tableview,then textfields are hidden with keyboard. I am trying to solve this problem by using code…
1
vote
1 answer

How to implement date in uiTextField present inside TableviewCell in ios

I am able to select date succefully using simple textfield ,but in case of textfield within tableview cell,i am facing problem and not able to select date.As far as i am able to identfy my action method donePressed is not working properly as i am…
1
vote
1 answer

Sending data through coded button/function in swift

I have a button I created for a tableViewCell footer, and want to pass the section when the button is pressed, but when I print out the section, it is a completely arbitrary number, how can I pass the section Int when the button is pressed? func…
Noah Iarrobino
  • 1,435
  • 1
  • 10
  • 31
1
vote
1 answer

Hide SearchController again after scrolling down

I got SearchController to show up with my TableView, this is what is looks like on launch vs when I scroll up: This is perfect since I want it hidden when not in use. However, after showing it, I can't hide it again by scrolling down. How do I get…
Big Chungus
  • 185
  • 1
  • 3
  • 13
1
vote
0 answers

How to Add Shadow to TableView Without MasksToBound = False

When I add a shadow to my table view, it only shows if I have masksToBound = false as in picture 2. But it will look glitchy. Otherwise it looks fine scrolling up and down as in picture 1 but there's no shadow because I don't set it to false.…
Aza
  • 63
  • 10
1
vote
1 answer

How to get rid of delete icon in edit mode of swift tableview?

When using the edit mode of swift tableview, icons for moving and deleting appear. I want to get rid of the red part of the picture Is it possible? I just want to change the order in edite mode I wonder how
1
vote
1 answer

Change the UILabel when a static variable changes

I have a CartItem struct where I store the items that I show in a UITableView My UITableView is in CartViewController. I use custom cell for my table view. Here is my custom cell: class CartItemCell: UITableViewCell { @IBOutlet weak var…
hummaan
  • 113
  • 1
  • 5
1
vote
2 answers

Segue to tableview from a tableview but display different data for the tableview depending on which cell is selected

Is it possible to present different data to the same table view depending on which cell of the previous table view is selected? For example, the first table view above will already be populated with data, I then want the cells to link to the other…
L. Hinton
  • 69
  • 1
  • 7
1
vote
1 answer

React's dynamic table would not re-render after onClick action

I have a dynamic table that does not re-render itself after changes. renderTableData(data) { this.setState({ rowData: data }); const temp = this.state.rowData.map((row, index) => { return ( //…
ytan11
  • 908
  • 8
  • 18
1
vote
0 answers

Self sizing cell after call to Firebase

I am building a tableview where I'm loading text of different sizes and want the cells to be dynamic. This is very simple when I'm not calling to the database first. I know I am using the constraints correctly because I got the cell to behave…
Zack Blauvelt
  • 29
  • 1
  • 6
1
vote
2 answers

Why can't I set tableview background color to white?

Whenever I do and run the app it's light gray. I've changed EVERY color I can and white just does not stay white. Every other color I've tried works, just not white. I tried these 2 self.tableView.backgroundView =…
Mike G
  • 11
  • 5
1
vote
3 answers

Rounding color around borders of a button

I've got a little problem as seen below: The cell has a background color, and the button doesn't. Still, it doesn't give me rounded edges, but corners. How can I fix that? UIButton *meerKnop = [UIButton…
Joetjah
  • 6,292
  • 8
  • 55
  • 90
1
vote
1 answer

QSqlQueryModel TableView custom delegate

I have a QSqlQueryModel and a TableView to display the data from the model. The code and output data results are fine. But, I just want to display an image in front of each row in the TableView. However, with my current QML code, the image is…
Chilarai
  • 1,842
  • 2
  • 15
  • 33
1
vote
1 answer

Expanding ScrollView with TableViewCells

I am trying to expand my view when tableViewCells are added to the tableview to scroll the whole view rather than the table, but my implementation of increasing the size of the tableView and the ScrollView isn't quite working, I'm not sure if it has…
Noah Iarrobino
  • 1,435
  • 1
  • 10
  • 31
1
vote
1 answer

tableview multiple selection using edit mode

Hello i am creating swift app and i am creating tableview with recent chat list ans in tableview i need to select multiple row with edit mode here is my screen shot what i exactly want and my code which i have tried Here is screen shot while edit…
gipeje
  • 61
  • 7