examples/requireJSExample/js/ng-grid-2.0.11.debug.js
function (obj, columnName) {
			if (typeof obj !== "object" || typeof columnName !== "string") {
				return obj;
			}
			var args = columnName.split('.');
			var cObj = obj;
			if (args.length > 1) {
				for (var i = 1, len = args.length; i < len; i++) {
					cObj = cObj[args[i]];
					if (!cObj) {
						return obj;
					}
				}
				return cObj;
			}
			return obj;
		}
function (obj, columnName) {
			if (typeof obj !== "object" || typeof columnName !== "string") {
				return obj;
			}
			var args = columnName.split('.');
			var cObj = obj;
			if (args.length > 1) {
				for (var i = 1, len = args.length; i < len; i++) {
					cObj = cObj[args[i]];
					if (!cObj) {
						return obj;
					}
				}
				return cObj;
			}
			return obj;
		}
function ( obj , columnName ) { if ( typeof obj !== "object" || typeof columnName !== "string" ) { return obj ; } var args = columnName . split ( '.' ) ; var cObj = obj ; if ( args . length > 1 ) { for ( var i = 1 , len = args . length ; i < len ; i ++ ) { cObj = cObj [ args [ i ] ] ; if ( ! cObj ) { return obj ; } } return cObj ; } return obj ; }
Traversing through the object to find the value that we want. If fail, then return the original object.
Traversing through the object to find the value that we want . If fail then return the original object .