var sm = Ext.create('Ext.selection.CheckboxModel',{ mode : 'multi', showHeaderCheckbox: false, checkOnly:true, enableKeyNav : false, listeners: { select : function ( records, keepExisting, suppressEvent ) { } } }); var grid2 = Ext.create('Ext.grid.Panel', { store: storeContract1, hideHeaders : true, //autoScroll:true, selModel: sm, columns: [ { text: "", flex: 1, xtype: 'templatecolumn',tpl: new Ext.XTemplate( '<br /> <table style="width: 80%px;"><tbody> <tr><td>Contract #</td><td>{CONTRACTNUMBER}</td><td>Disconnect On</td><td><span class="datepicker"></span></td><td>DECODER</td><td><tpl for="DECODER"></tpl><br /> <div> - {.}</div> </td></tr> <tr><td colspan="6"> </td><td></td></tr> <tr...
Ext.select('.datepicker').each(function(el){ new Ext.form.DateField({ allowBlank : true, renderTo: el, format:'m-d-Y', editable:false, width:140, fieldCls : 'tanggal x-form-field x-form-text x-trigger-noedit', }); }); Ext.select('.note').each(function(el){ new Ext.form.field.TextArea({ allowBlank : false, renderTo: el, grow : true, hideLabel : true, fieldCls : 'pesan x-form-field x-form-text x-trigger-noedit', }); });