BoldSignA modern eSignature application with affordable pricing. Sign up today for unlimited document usage!
<div><div data-bind="attr: { id: gridId }, ejGrid: ejGrid"></div></div>
var ctor = function () {};
ctor.prototype.getView = function () {return 'dialogs/searchlookup/view'}ctor.prototype.activate = function (settings) {self = this;var shipDetails = [{ Name: 'Hanari Carnes', City: 'Brazil' },{ Name: 'Split Rail Beer & Ale', City: 'USA' },{ Name: 'Ricardo Adocicados', City: 'Brazil' }];var grid = {dataSource: shipDetails,}self.ejGrid = grid;};
Unable to process binding "ejGrid: function (){return ejGrid }"Message: Syntax errorCompiled template code:// b33ae955-100b-49fa-b88a-be9ce44da0f1_JSONTemplatevar j=j||jQuery.views,v,ret="";try{ret+="<tr class=\"";ret+=(v=view.hlp("_b33ae955")-data.100b-data.49fa-data.b88a-data.be9ce44da0f1AlternateRow())!=u?v:"";ret+="\" role=\"row\"><td class=\"e-rowcell\" role=\"gridcell\" style=\"text-align: left;\">";ret+=(v=data["Name"])!=u?v:"";ret+="</td><td class=\"e-rowcell\" role=\"gridcell\" style=\"text-align: left;\">";ret+=(v=data["City"])!=u?v:"";ret+="</td></tr>";return ret;}catch(e){return j._err(e);};View: widgets/textinput/view;ModuleId: widgets/textinput/viewmodel
Unable to process binding "ejRTE: function (){return ejRTE }"Message: Syntax error, unrecognized expression: .e-menu-wrap #;View: widgets/textarea/view;ModuleId: widgets/textarea/viewmodel
self.gridId = "testGrid",
self.ejGrid = grid
|
<textarea class="text-area" data-bind="attr: { id: rteId }, ejRTE: ejRTE" />
define(['durandal/composition', 'durandal/system', 'knockout', 'jquery', 'web/ej.rte.min', 'common/ej.widget.ko.min'], function (composition, system, ko, $) {var ctor = function () { };ctor.prototype.activate = function (settings) {self = this;//delete all "-" from idself.rteId = system.guid().replace(/-/g, "");var rte = {height: "50px",minHeight: "50px",width: "100%",minWidth: "100px",isResponsive: true,showToolbar: false,showFooter: true, //To display the footer of RTEenableResize: true, //To enable Resize in RTEshowClearFormat: false, //To hide clearFormat option in footershowCharCount: false, //To hide character count in footershowWordCount: false //To hide word count in footer}self.ejRTE = rte;};return ctor;});