Files
openmct/platform/features/scrolling/src/NameColumn.js
Victor Woeltjen d304cc4343 [Scrolling] Bring in scrolling list view
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.
2014-12-02 14:51:48 -08:00

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;
}
);