Bring in scrolling list view from the sandbox branch in preparation for clean up, testing, and integration to complete transition of scrolling list views, WTD-534.
28 lines
550 B
JavaScript
28 lines
550 B
JavaScript
/*global define,Promise*/
|
|
|
|
/**
|
|
* Module defining NameColumn. Created by vwoeltje on 11/18/14.
|
|
*/
|
|
define(
|
|
[],
|
|
function () {
|
|
"use strict";
|
|
|
|
/**
|
|
*
|
|
* @constructor
|
|
*/
|
|
function NameColumn() {
|
|
return {
|
|
getTitle: function () {
|
|
return "Name";
|
|
},
|
|
getValue: function (domainObject) {
|
|
return domainObject.getModel().name;
|
|
}
|
|
};
|
|
}
|
|
|
|
return NameColumn;
|
|
}
|
|
); |