Binding.bindingDataChanged event (JavaScript API for Office v1.1)

JavaScript API for Office v1.1

Occurs when data within the binding is changed.

Last modified: June 12, 2014


In version 1.1 of Office.js, you can now add and remove event handlers for the DataChanged event in content apps for Access.

To add an event handler for the BindingDataChanged event of a binding, use the addHandlerAsync method of the Binding object. The event handler receives an argument of type BindingDataChangedEventArgs.

function addEventHandlerToBinding() {"bindings#MyBinding").addHandlerAsync(Office.EventType.BindingDataChanged, onBindingDataChanged);

function onBindingDataChanged(eventArgs) {
    write("Data has changed in binding: " +;

// Function that writes to a div with id='message' on the page.
function write(message){
    document.getElementById('message').innerText += message; 

App types

Content apps, Task pane apps

Supported clients

Access app for SharePoint, Excel 2013, Excel 2013 SP1, Excel 2013 RT, Excel Online, Word 2013, Word 2013 SP1, Word 2013 RT





© 2014 Microsoft