Two-way data binding (bidirectional data binding) refers to two components acting as the source object for the destination properties of each other.
Questions tagged [2-way-object-databinding]
333 questions
2
votes
1 answer
Click event and two way data binding in HighCharts using AngularJS
I'm trying to write a directive for HighCharts in AngularJS which supports two way data binding as well as click events on charts.
Directive:
app.directive('highchart', function () {
return {
restrict: 'E',
template:…

dobydx
- 57
- 1
- 2
- 11
2
votes
3 answers
Angular - 2 way data binding with DIV element style
I'm building a dragging interface using Angular and jQueryUI. The reason I want to use Angular is, I wanted angularJS 2 way data binding which is really awesome!
Here is the codepen - http://codepen.io/anon/pen/qmuvH/
In the codepen - you will see…

Aajahid
- 1,619
- 2
- 13
- 33
2
votes
1 answer
Two-way data binding issue
Here's my component's code:

Lingviston
- 5,479
- 5
- 35
- 67
2
votes
1 answer
Two Way Binding: Combobox of Checkboxes - Kind of Working but not
I have a ComboBox populated with Checkboxes.
The ItemsSource of the ComboxBox is bound to a List of objects which are to be bound the check-boxes; a ViewModel. The view-model is a simple object (of type MultiSelectDropDownItem) which has a boolean…

icecreamsoop
- 129
- 5
- 15
1
vote
2 answers
The databind bind() function belongs to which class?
The one-way databind Eval function belongs to DataBinder class and can be accessed in a page through TemplateControl.Eval method that calls the DataBinder.Eval method using the GetDataItem method to resolve the object reference that the expression…

outlookrperson
- 2,761
- 7
- 32
- 49
1
vote
3 answers
Flex 4 COLLECTION_CHANGE event not firing
I'm currently trying to achieve 2 way binding of an ArrayCollection object. However, the COLLECTION_CHANGE event is not firing.
App.mxml
user2385136
1
vote
1 answer
Problem with directives and Two-way Binding in angular 13.1
My problem is that even though I import the modules " FormsModule,
ReactiveFormsModule, CommonModule" to the app.module.ts file and I have verified that everything is well written, it still shows me the following errors:
Can't bind to 'ngModel'…

Fabián Borja
- 11
- 1
1
vote
2 answers
DataBinding issue - DataTemplate/ViewModel/ICollectionView
Initially I posted this to the PRISM4 forum but got a suggestion that I should
try this forum as well:) I'm using WPF4 BTW...
I'm running PRISM4 and I've been struggling to get my data binding to work.
I'm following the MVVM pattern and have a view…

Kodo
- 11
- 2
1
vote
2 answers
How to pass parent to child dynamic data into model with multiple fields - Vue?
I am using Vue 2 and I'm trying to have a parent component pass in multiple values to the child, and have the child return back a specific object to the parent. It needs to be two way data binding for the data.
For example I have this school…

Suzy
- 231
- 4
- 14
1
vote
1 answer
WPF DependencyProperty: how to specify the OPPOSITE action of PropertyChangedCallback?
I'm adding a custom string DependencyProperty to a WPF UserControl that will be bound to a string property in my business object that contains rtf.
My PropertyChangedCallback works: it contains a snippet of code to use the e.NewValue rtf string to…

amonroejj
- 573
- 4
- 16
1
vote
2 answers
Two-way data binding of int[] or List to DataGridView in WinForms
This solution helps to populate dgv but since anonymous types are immutable such grid cannot be edited but even otherwise I dont't think it would have helped with 2-way binding
List values = GetValues();
var dataGridView = new…

ferdinandutkin
- 67
- 5
1
vote
4 answers
Angular: I am passing ngmodel in a @input from parent to child; change the value of corresponding @input, the value in parent is updated
Angular: I am passing ngmodel in a @input from parent to child; When i change the value of corresponding @input in child the value in parent is also updated causing it to behave like 2 way binding.Can anyone explain why is it so
parent…

shaksham saxena
- 11
- 4
1
vote
1 answer
Android EditText not visible and does not show keyboard
Using the following layouts and views below, I cannot get the EditText et_messageText box to show up in my display properly. If I run this in the emulator, I am able to click in the area and get a "null" selection cursor, so I know the EditText is…

Derek
- 11,715
- 32
- 127
- 228
1
vote
0 answers
Why is DatePicker returning a different Value then it is showing and getting? TWO-WAY DataBinding MVVM
I'm using a DatePicker where I wont to get the selected Date. I have tried to set the Data before getting it.

Anas G
- 11
- 1
1
vote
0 answers
Kotlin spinner set selected value in Textview using 2 way data binding
I am trying to get the selected value from the spinner and set this value to my TextView using 2 way data binding and Observable string.
I have tried the below code but I am unable to set the value of the selected item within the…

Priyanka Kadam
- 97
- 2
- 9