Questions tagged [deselect]

turn off (a selected feature) on a list of options on a computer menu.

turn off (a selected feature) on a list of options on a computer menu.

56 questions
12
votes
5 answers

perl6 What is a quick way to de-select array or list elements?

To select multiple elements from an array in perl6, it is easy: just use a list of indices: > my @a = < a b c d e f g >; > @a[ 1,3,5 ] (b d f) But to de-select those elements, I had to use Set: > say @a[ (@a.keys.Set (-) (1,3,5)).keys.sort ] (a c e…
lisprogtor
  • 5,677
  • 11
  • 17
9
votes
2 answers

Swift - UITableView didSelectRowAtIndexPath & didDeselectRowAtIndexPath Add & Remove indexPath IDs

This is the code: func tableView(tableView: UITableView, didSelectRowAtIndexPath indexPath: NSIndexPath) { let selectedItem = items.objectAtIndex(indexPath.row) as String let itemId = selectedItem.componentsSeparatedByString("$%^") …
Bogdan Bogdanov
  • 882
  • 11
  • 36
  • 79
4
votes
3 answers

Deselecting Text in NSTextField

Working on a new app, I'm running into the same problem described here in reguards to deselecting text that is input into an nstextfield: http://www.cocoabuilder.com/archive/cocoa/195313-nstextfield-how-to-deselect-text.html There are plenty of…
nintandrew
  • 105
  • 1
  • 6
4
votes
2 answers

PyQt or PySide: QTextEdit deselect all

I'm using PySide(PyQt is fine as well) and I want to deselect everything inside a QTextEdit. Selecting everything is very easy and it's done by self.textedit.selectAll(), but I can't find a simple way to deselect everything. Is there a…
Antoni4040
  • 2,297
  • 11
  • 44
  • 56
3
votes
2 answers

Disable PushRow deselection

This is a question about the library, Eureka. I have a PushRow with a number of options(names). And I also set the first item of those options as the one selected by default upon initialization. var names = ["Jake", "Cassie", "Rachel", "Marco",…
Isuru
  • 30,617
  • 60
  • 187
  • 303
2
votes
1 answer

How to avoid mistakes index out of range?

I try to select multiple items in collectionCell, but if i tap many times for deselect cell i get an error Thread 1: Fatal error: Index out of range On this line selectedTimeIntervalArray.remove(at: indexPath.item) on indexPath.item == 1. How to…
Dima
  • 111
  • 11
2
votes
1 answer

Xamarin Forms Listview: Deselecting selected item by checking with OnTapped Event

I will be able to deselect my item when i click second time on it. When I tap an item the background color changed to blue. I want that the background gets the default color when I tap second time to the same item from the list. Here can you find my…
Ali Eren
  • 489
  • 10
  • 23
2
votes
0 answers

Deselect row in QTableWidget when clicked for a second time

I have QTableWidget::selectionMode - SingleSelection, QTableWidget::selectionBehavior - SelectRows. So user selects rows via single click. However, when clicking the same row again, it isn't deselected. How to implement such deselection?
Rob Luca
  • 153
  • 10
2
votes
1 answer

Swift UITableView visually deselects cells on scroll

I made an app that lists items in a UITableView. When I select items and scroll down till they go off screen, they will become visually deselected, meaning: The checkbox image we set and the backgroundcolor are reset to original state. The system…
John Smith
  • 53
  • 2
  • 9
1
vote
2 answers

How to select and deselect on dropdown list react

I have a dropdown. Users are able to select multiple items from the dropdown. At the same time, users are able to deselect the items that they have selected by clicking the selected items again. If users select all, all numbers in the array will…
Angie
  • 105
  • 8
1
vote
2 answers

Unselect active_cell in dash datatable (python)

All, I am trying to implement a dash datatable, where I select rows by a direct click on it (no radio buttons). Currently, I am doing this with the active_cell and it works well: No matter in which cell of a row a user clicks, a graph is updated…
thiskillsme
  • 43
  • 1
  • 6
1
vote
1 answer

deselectd other button when one button isSeleted

I have three button link together called tipChanged . one button was seleted by default (10%) I want to write some code to make one button isSeleted ,the other two will automatically deseleted .my code work but too wordy ,any easy way ? below is my…
tashaxing
  • 25
  • 2
1
vote
2 answers

How to clear selections in uitableview and show it dynamically?

I have selected some tableView cells and stored it in UserDefaults, also showed what i have selected. Now after adding a clear button and made deselect all selected row & emptied the selected row array followed by table reloadAll(). It is not…
Niranjan
  • 13
  • 7
1
vote
1 answer

deselect event not working kendo multi-select with AngularJS?

I am trying to implement deselect event Kendo multi-select component. This is HTML

{{vm.filterGroup.groupName}}