Questions tagged [2-way-object-databinding]

Two-way data binding (bidirectional data binding) refers to two components acting as the source object for the destination properties of each other.

333 questions
0
votes
1 answer

Two-way data binding after an Ajax call

I have a problem with the AngularJS two-way data binding. I'll try to explain the issue as clearly as possible: I have a list of contact names. For each element I have an Edit button. When I click on that button I load the "clicked" full Contact…
superpuccio
  • 11,674
  • 8
  • 65
  • 93
0
votes
0 answers

Building a large (5000 elements +) 2 way binding / syncing front end with js

Im building a large 2 way syncing (read + write) spreadsheet front end (think google drive spreadsheet) for an application, the back end keeping all the data in sync between the users / views is fine, but i keep running into problems with the number…
0
votes
1 answer

best way to programmatically set values in databinding

on a form i have the following databinding. I have a binding source called JobHistoryBS that is bound to a JobHistory object which is bound to the JobHistories table in SQL Server. On a form I have the following text fields and labels.…
user3494389
  • 31
  • 1
  • 4
0
votes
1 answer

Add element to DOM via directive and bind scope watching from controller (angular.js)

Here is the little app in which you can add items, edit them and delete - all described in controller, based on angular 2 way data-bind. http://cssdeck.com/labs/schedule-of-the-red-hood Everytime the element is added, in the calednar-bar…
0
votes
1 answer

how to bind each element in form to item in array of objects in angularjs

I am trying to bind each element in form to an element in array of objects. What is a good way to do this? Do I need to create client side models and then serialize it? below is jsfiddle on what I am trying to achieve http://jsfiddle.net/PmChk/1 var…
0
votes
1 answer

Ember two way binding not working?

I'm relatively new to Ember and really like it so far. I was working through some sample code in their docs and can't seem to get the 2 way bounded value that I'm supposed to get? I borrowed the code from their provided sample and I have no errors.…
micahblu
  • 4,924
  • 5
  • 27
  • 33
0
votes
1 answer

Using ng-repeat over nested javascript objects to display select-options

How can I display two dropdown menus with the proper options using angular's ng-repeat directive? Here's a JSBin js: angular.module('myApp', []) .controller('MainCtrl', function($scope) { $scope.templates = { pages: ['home',…
0
votes
1 answer

Retrieve Item from selected row in a Datgrid using databinding

I have a list bound to a Datagrid via a Bindinglist, I need a full 2 way databinding MyBindingList = new BindingList(List); SmartGridItems.DataSource = _myBindingList; I cannot find out now, how I can access the Item, if I know the…
traveller
  • 189
  • 1
  • 2
  • 10
0
votes
2 answers

2-way binding not working in AngularJS repeat

Using the following code:
{{record}}inc

Yaron
  • 2,053
  • 2
  • 19
  • 21
0
votes
1 answer

Knockout cross class data binding

Goal: Give the user the ability to adjust mapping results. I am running into an issue where I need to actually change the instance used of a data bound element. Disclaimer: My json data structure may be off and I am open to possible modifications. …
0
votes
2 answers

dynamically load interfaces, using angularJS: 2-way binding breaks

I'm trying to build web app that dynamically load interfaces, using angularJS. I found that it was possible to bootstrap some portions of my code after the initial bootstrap of Angular (HTML template + Controller). My problem is that, doing so, the…
Alain Duchesneau
  • 394
  • 1
  • 4
  • 12
0
votes
2 answers

Binding a DataGrid TwoWay to an ObservableList of objects

I have a class to store data: public enum ColumnType { ... } public class LogColumn { public string Name { get; set; } public ColumnType Type { get; set; } public bool OrderBy { get; set; } } and a ObservableCollection of it in my…
Steve
  • 1,072
  • 11
  • 28
0
votes
1 answer

Knockoutjs2 observable binding doesn't show updated value