Questions tagged [checkmark]

149 questions
1
vote
1 answer

Change the color of the checkbox's check mark in css

How can I change the color of the check mark using css?
Gene9y
  • 789
  • 1
  • 11
  • 26
1
vote
1 answer

How to preserve the index path value in the table view in iPhone?

I have created a table view and displayed the datas. When i click the data in the table view, i put the accessory mark (using UITableViewCellAccessoryCheckmark, Like, Check Mark). Now i want to preserve the state of index position. Because when i go…
Pugalmuni
  • 9,350
  • 8
  • 56
  • 97
1
vote
2 answers

Swift: Toggling checkmark to ON for last selected cell only - not working

I have a given number of cells in a section. My goal is to have only the last selected cell to display a checkmark. The other cells should not. I have found a function in this similar but older thread. I've modified it (and I bet here lies the…
user1269290
  • 451
  • 1
  • 6
  • 18
1
vote
2 answers

Checkable UIPickerView in iPhone Safari

I try to custom my pickerview to be checkable like when you click dropdownlist on webview as in the picture (youtube website). http://img830.imageshack.us/img830/3747/screenshot20101004at606.png I use viewForRow method to customize view for each…
Dolly
  • 81
  • 2
  • 8
1
vote
3 answers

how to add checkmark in tableview swift

I'm trying to show checkmark on tableview cell, but the checkmark appears only sometimes and it disappears when I scroll. Below the code: func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) ->…
globalworld
  • 33
  • 1
  • 8
1
vote
2 answers

Group menu items work but don't display checkmark

I have a working app with an overflow menu. All the code in the menu works, but no checkmarks are being shown after I click on a single-clickable, grouped menu item. Am I doing something fundamentally wrong? I thought that this displaying of the…
Christopher Rucinski
  • 4,737
  • 2
  • 27
  • 58
1
vote
2 answers

Remove checkmark from MenuItems?

I have a context menu that appears when a user right clicks which contains two menu items. The first item has a checkmark instead of the icon, and then a checkmark is placed on whichever one is clicked the next time the user right clicks. I have…
pfinferno
  • 1,779
  • 3
  • 34
  • 62
1
vote
2 answers

Save checkmark in NSUserDefaults - dynamic TableView

Solution!! Thanks Josh for all the patience :D So the code in the initial question always ticks the selected cell and deselects a previously selected cell without saving anything to the NSUserDefaults. After a lot of help from Josh the new code…
1
vote
2 answers

Swift UItableview with Search bar and checkmark

I've been trying to do SearchBar on UITableView with checkmark. Where user can checkmark only one at a time. I managed to do checkmark and search. But when I search and checkmark on the search result, that is where it started to fail import…
SyamAhmad
  • 45
  • 1
  • 8
1
vote
1 answer

Toggle checkmark between cells with one cell checked by default

I have a settings view in my app that I want the user to be able to check between some different settings but only let the user to have one of the options selected at the time. I got some help throughout this answer: iPhone :UITableView…
user2707185
1
vote
4 answers

Set one check mark for each section in UITableView and save its state

Spent hours and hours and no use.I don't understand whether I was not effective in searching(googling) or is it that there are less questions on this or I might have committed some mistake while implementing the answers of experts! I know there are…
Eshwar Chaitanya
  • 942
  • 2
  • 13
  • 34
1
vote
3 answers

How to perform show and hide effect for image on UITableViewCell?

In my iPhone app I have to show check-mark image on left side of the cell, first time there is no image on the cell, when user select the cell it will show the check mark image on right side of the cell, if user again select the same cell image…
Nishi
  • 683
  • 1
  • 12
  • 31
1
vote
3 answers

Default CellAccessory

How can I set first row of tableview checkmarked when the app started? I mean when I start app now, there are few rows in tableview and when I click on some of them its accessory change to checkmark. When click another one, the another one comes…
TomasJ
  • 289
  • 8
  • 21
0
votes
4 answers

UITableViewCellAccessoryCheckmark in different sections

I have 2 sections in a UITableView. I would like to enable the UITableViewCellAccessoryCheckmark on the row I have selected. There can only be 1 checked row in the 2 sections. How can I do that? The examples I found only shows how to do it with 1…
Grace
  • 91
  • 3
  • 11
0
votes
1 answer

Table View Did Select Row

So i have a tableView with checkmark accessory type and I have such method: - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { NSUInteger newRow = [lastIndexPath row]; NSUInteger oldRow =…
Alick Dikan
  • 65
  • 2
  • 3
  • 10