Questions tagged [unselect]

56 questions
15
votes
4 answers

jQuery UI Selectable - unselect selected item on click

Does anyone know if there's a way to configure a jquery ui selectable element to unselect the selected element when you click it? Sort of like a toggle. If it's already selected, unselect it, otherwise do the default behavior. Thanks.
fehays
  • 3,147
  • 1
  • 24
  • 43
12
votes
7 answers

Unselect what was selected in an input with .select()

After I use .select() to select the text in the input box when hovered over I did the following: HTML:
jQuery: $(".hoverAble").mouseenter(function() { …
Trufa
  • 39,971
  • 43
  • 126
  • 190
10
votes
1 answer

how to unselect files in html forms?

I have a simple php file upload form, something like this:
user3002293
  • 229
  • 3
  • 4
  • 13
8
votes
2 answers

Unselect All CheckBoxes From Excel Workbook with VBA Macro

I have a workbook with over 100 checkboxes. They are form control checkboxes I would like to un-select them all at once that is set them to false. Sub clearcheck() ActiveSheet.CheckBoxes.Value = False End Sub This works for the active sheet. I…
user2533460
  • 349
  • 3
  • 7
  • 20
6
votes
1 answer

can't clear WPF ListBox.SelectedItems collection

I can't seem to get the SelectedItems collection of a data bound WPF ListBox to clear. I've tried calling ListBox.SelectedItems.Clear(), i've tried setting the SelectedIndex to -1, setting the SelectedItem to null and calling ListBox.UnselectAll().…
user1200340
  • 157
  • 1
  • 3
  • 10
5
votes
5 answers

Deselect or unselect all tabs in tabbar in iOS 5

I am new to iOS development and I have started with IOS 5 directly. I have created a storyboard which consists of a tabview controller as its rootviewcontroller. I have put 2 tabs to it. I want to deselect/unselect all the tabs initially. How do I…
Nik
  • 2,913
  • 7
  • 40
  • 66
5
votes
3 answers

JTree: Selecting all nodes programmatically

I have a Jtree, and 2 buttons to select and unselect all nodes. I made an attempt like this: selectAll = new JButton("Select all"); selectAll.addActionListener(new ActionListener (){ @Override public void actionPerformed(ActionEvent…
Roman Rdgz
  • 12,836
  • 41
  • 131
  • 207
4
votes
1 answer

How to select just one row, prevent to unselect item in singleselect mode

My question is very simple but I really didn't find any solution here. I have a Table setSelectable(true), setMultiselect(false), setImmediate(true). It works fine by first click and moving through the table using arrows. But if I click again to the…
Hink
  • 1,054
  • 1
  • 15
  • 31
3
votes
1 answer

Does fancytree have an event that indicates it has completely loaded the data in the tree?

I want to know if in any way figure out that fancytree is completely finished loading data and the component is fully loaded so i can change its options. Currently I am trying to change selectMode (from 3 to 2 for example) but when I do so data will…
arvind
  • 189
  • 3
  • 19
3
votes
1 answer

Mvvmcross ListView SelectedItem setter not reached

I'm building an app on Android via Xamarin using MvvmCross. I've been struggling on this issue for some time, and I have found a work-around, but I'm pretty sure this isn't the right way to do it. It concerns the selected item in a…
2
votes
1 answer

tinyMCE how to unselect selected area

Im working with tinyMCE 4.x and would like to remove ANY set format in the whole editor text programmatically. It just should do what the removeFormat command does. So far I came: tinymce.execCommand('selectAll', true,…
Jonny
  • 816
  • 10
  • 24
2
votes
2 answers

Vaadin7 - Grid disable unselecting

How to disable unselecting Grid row in Vaadin 7, but with permission to select another row using keyboard or mouse click? Grid grid = new Grid(container); grid.setSelectionMode(Grid.SelectionMode.SINGLE); For example this is possible for older…
jsosnowski
  • 1,560
  • 3
  • 26
  • 56
2
votes
0 answers

selectpicker mutiple selection, unselect option when specific one is selected

I want to share this with you I may save someone around time. a few days ago I was trying to figure out how I can unselect some options if I select another option within selectpicker plugin multiple selection. so here is my code it's may save you…
Anouar
  • 56
  • 1
  • 3
2
votes
3 answers

Default Text in the Drop Down

I am working on a wpf application, when using Combo Box control i am assigning ItemsSource to it. So, it displays a list of items with no item selected, now user can select an item of his choice. When user has made a selection he has no option to…
viky
  • 17,275
  • 13
  • 71
  • 90
2
votes
1 answer

Rails - Ransack gem - radio buttons settings

I am using Ransack gem in order to create simple search interface. One of the model attributes can be true or false. So, using the Ransack form builder I have the following code:
<%= f.label :is_active_true, 'Is active' %> <%=…
gotqn
  • 42,737
  • 46
  • 157
  • 243
1
2 3 4