define(function () { "use strict"; function DisplayAllValues() { }; DisplayAllValues.prototype.draw = function (oControlHost) { var elPVInfo = oControlHost.container; elPVInfo.innerHTML = '' + '
'; elPVInfo.querySelector(".btnPV").onclick = getAllPromptValues.bind(this, oControlHost); } function getAllPromptValues(oControlHost) { var oControl = oControlHost.page.getControlByName("promptProdLine"); var aValues = oControl.getValues(true); //var elValues = oControlHost.container.lastChild; var elValues = oControlHost.container.querySelector("div"); var sTable = 'Use | Display |
---|---|
' + oValue.use + ' | '; sTable += '' + oValue.display +' | '; sTable += '