[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.
This commit is contained in:
Victor Woeltjen
2014-12-02 14:51:48 -08:00
parent 622f1f8be7
commit d304cc4343
6 changed files with 313 additions and 0 deletions

View File

@ -0,0 +1,31 @@
/*global define,Promise*/
/**
* Module defining DomainColumn. Created by vwoeltje on 11/18/14.
*/
define(
[],
function () {
"use strict";
/**
*
* @constructor
*/
function DomainColumn(domainMetadata) {
return {
getTitle: function () {
return domainMetadata.name;
},
getValue: function (domainObject, data, index) {
return data.getDomainValue(
index,
domainMetadata.key
);
}
};
}
return DomainColumn;
}
);