Questions tagged [selectionchanged]

263 questions
0
votes
0 answers

Display the name instead of value in mat-select AutoComplete

`I want to display the name (employee Name) instead of value (employee id), while trying to pick an employee by name in the drop down. Sample Data: 0: {employeeID: 13, employeeName: 'vinayakar G'} 1: {employeeID: 14, employeeName: 'kanna V'} Any…
0
votes
1 answer

WPF ListView select/deselect under some conditions

I'm using a WPF ListView to show and select/deselect some items but there are some conditions that user cannot select/deselect an item and I should handle it in the code behind. I tried to use ListView.SelectionChanged event to handle it but the…
BigAli
  • 1
0
votes
0 answers

column row is not getting selected/highlighted on window when user presses any letter key on Keyboard

My problem is column row is not getting selected/highlighted on window when user presses any letter key on Keyboard. I tried following code but when I use DataGridTextSearchBehaviour then SelectionChanged="DataGrid_SelectionChanged" is not working. …
0
votes
1 answer

JavaFx table view: block selection events but only the ones coming from the user interaction

I have been trying to create a javafx.scene.control.TableView such that all the selection events are blocked when their origin is user interaction. In other words, it must be possible for me to programmatically alter the selection in a given table…
Arturos
  • 25
  • 2
  • 6
0
votes
1 answer

ComboBox Selection Change keeps looping

I am currently developing a WPF app in which there are multiple forms to manage a database. One of these forms is a "Add form". This form contains a combobox with some values. Though if the user's wanted value is not in the combobox list, it can be…
MKlaassen
  • 37
  • 3
0
votes
1 answer

smart gwt TreeGrid addSelectionUpdatedHandler can not get selected record

I have a treeGrid, and initialize the tree in the client. And add hander of addSelectionUpdatedHandler. The tricky thing is: it can get selected record in the first time. Then whenever I select the record in the next time, The SelectionUpdatedEvent…
Allen
  • 33
  • 4
0
votes
1 answer

Function onchange select only changes first element in div

I want to change prices via select(onchange) for different stores. Each store as a product div and products inside with different the price structures included which I want to show or hide depending on which Store you choose. Currently, the price…
Pirelli
  • 3
  • 2
0
votes
1 answer

Use SelectionChanged event in two textbox , one depend from the other

I have two Textbox and I'm trying to add SelectionChanged Event to the two textbox : TextBox A => Amount TextBox B => Summary The scenario is like : Two Textbox are empty: The user enter the amount the summary will be equals to 100 * Amount The…
abdou31
  • 45
  • 1
  • 8
0
votes
0 answers

WPF prevent fire combobox source selection in MVVM during his population

I need help. I am kind of new in MVVM I've got event datagrid selecteditem event in MVVM. After creating a source for grid items(void search) I need populate combobox source as a filter values based on main collection. I used(before MVVM) to work…
0
votes
1 answer

Blazor: Reusable OnSelect Change Event

Is there a more reusable version of this: void OnSelectFoundWithCus(ChangeEventArgs e) { selectedString = e.Value.ToString(); DisplayToggle("FoundWithCus"); } async Task DisplayToggle(string DivToToggle) { if(selectedString ==…
jnelson
  • 41
  • 1
  • 10
0
votes
0 answers

Triggering action when QTableView selection is changed

I am trying to trigger the action when cell selection of QTableView. I am using the selectionChanged but it triggers the action only for the first time and changing the cell selection is not triggering the action again. What is that I am doing…
Jan Pips
  • 113
  • 1
  • 3
  • 11
0
votes
1 answer

How do I handle SelectionChange when the ComboBox is

I have a ListBox, where the list element has a ComboBox, a TextBox and a slider. Depending on the selction of the ComboBox either the TextBox or the slider should be visible.
Bernd
  • 1
0
votes
1 answer

how to send select_tag value in form parameter in rails 3

<%= form_tag url_for(new_manage_listing_media_path(3)),:method => 'get' do -%> <%= label_tag ':name', "Choose media:" %> <%= select_tag "id", options_from_collection_for_select(@listing, "id", "name")%> <%= submit_tag("OK") %> <% end…
0
votes
1 answer

Expand Selection to Include All Text of AnchorNode and FocusNode

Here's the scenario: The user selects some text. I want to modify the selection to include the complete text inside the bounding AnchorNode and FocusNode, regardless of where the user starts and stops selecting.