Questions tagged [uitableviewrowaction]

171 questions
1
vote
1 answer

update the label text when clicking tableviewrow item in titanium

I have created a tableview row.here the tableview each row having the one lebel and 2 image view.if am clicking the image, the selected row of label value need to change something. But from my code if am clicking the image, the label value is…
1
vote
1 answer

UITableViewRowAction buttons appearance in a single column

Hi I am using a table view which has bigger Row height and I need to use two buttons Edit and Delete while swiping a cell. I got those two buttons using the following code :- -(NSArray *)tableView:(UITableView *)tableView…
1
vote
2 answers

swift indexPath.row==0 works weirdly for UITableViewCell

I am trying to make a table wherein first cell has a differernt layout than the rest. I want to put the image as background for first cell i.e it shd look something like this: and here is the code for my implementation func…
0
votes
0 answers

TableView Swipe Action Button change after clicked

I want to change the delete swipe action after clicked or swiped. For example, if I clicked delete I want to change delete to Confirm after confirm clicked or swiped then I want to clear that row. How can I do that any idea? override func…
Begbie
  • 283
  • 1
  • 17
0
votes
2 answers

Prevent tableview from being reused (MVVM )

I know how to preserve the action we have done on UITableView, after scrolling back and forth. Now Iam doing a simple UITableView on MVVM which has a Follow button . like this. Follow button changes to Unfollow after click and resets after…
Ae Ri
  • 185
  • 1
  • 12
0
votes
1 answer

Still can't delete tableviewcells

I posted about this at the start of the month but nobody responded and I tried to alter it myself as days went by but after reading like 20 posts and trying to implement code from each post, I'm still stumped. All I want do is successfully delete a…
dsonawave
  • 137
  • 2
  • 12
0
votes
0 answers

How to prevent xib cell covering static cell

So I created a xib cell, and successfully implemented it into my tableVC. I also created a static cell in another section of the tableVC, but when I run the app, the xib cell covers the static cell and only shows the static cell when I click on the…
dsonawave
  • 137
  • 2
  • 12
0
votes
0 answers

Unable to retain the selected rows when navigating the UIVIewControllers in swift

I have two uiviewcontrollers for filter purpose, from the first controller using the button i could present the second view controller, from the second view controller i have a tableview and select their rows and passing those row values to the…
0
votes
1 answer

Icon for UITableViewRowAction is shown on iOS 13, but not on iOS 12

Ok, I've encountered a strange behaviour (bug) by UITableViewRowAction. I'm trying to add an icon to a swipe left action. Bellow is my code for setting an icon inside the table view delegate's tableView(_:trailingSwipeActionsConfigurationForRowAt:)…
Tigran Iskandaryan
  • 1,371
  • 2
  • 14
  • 41
0
votes
2 answers

Spacing between UITableViewCell and UITableViewRowAction

Is it is possible to add spacing between the UITableViewCell and UITableViewRowAction and is possible to add corner radius to UITableViewRowAction as per attached UI. Find attachment Here!!
Parthee Vs
  • 31
  • 3
0
votes
1 answer

Can you make a TableView in a custom cell?

I have a custom TableViewCell. Inside of this, I want to put another TableView, but I'm having problems. I have something like this: import UIKit class ByteCell: UITableViewCell, UITableViewDelegate, UITableViewDataSource { @IBOutlet weak var…
Evan
  • 1,892
  • 2
  • 19
  • 40
0
votes
4 answers

How to always show row-action in pages list in wordpress administation

I would like to always show a row-action ("edit", "quik-edit","trash","display") in custom pages list in wordpress administation. Not just on hover the title. I don't understand the codex about that…
laurent
  • 67
  • 6
0
votes
1 answer

Issue properly triggering a view controller to open when a UITableView row is pressed?

How can I properly trigger a view controller to open when a UITableView row is pressed? I need to allow the user to go back from the view controller back to the tableView and allow them to select the same or a different tableView row. The problem I…
user11349745
0
votes
0 answers

Title of UIContextualAction does not show full of text

I create an UIContextualAction in table view cell which shows a long text but it works wrong. The title shows text with: The sample of text... If I use UITableViewRowAction for swiping action in table view cell. The title shows full in ios 10 and…
Clover
  • 21
  • 4
0
votes
1 answer

How would I send data from labels from a table view row action to a view controller?

I'm trying to pass the data from a table view cell to another view controller through the cell's 'edit' table view row action. override func tableView(_ tableView: UITableView, editActionsForRowAt indexPath: IndexPath) -> [UITableViewRowAction]?…
EJ_95
  • 1
  • 3