test/example/z-grid.directive.js
/** if we do not select the proper instance, the modification to obj will not be visible in the grid */
if we do not select the proper instance, the modification to obj will not be visible in the grid
if we do not select the proper instance the modification to obj will not be visible in the grid
function selectItem(item) {
            var found = findItem(getIdentity(item));
            if (found && found != item) {
                vm.selectedItem = found;
            } else {
                vm.selectedItem = item;
            }
        }
function selectItem ( item ) { var found = findItem ( getIdentity ( item ) ) ; if ( found && found != item ) { vm . selectedItem = found ; } else { vm . selectedItem = item ; } }
if we do not select the proper instance, the modification to obj will not be visible in the grid
if we do not select the proper instance the modification to obj will not be visible in the grid
// console.log('found');