Langsung ke konten utama

Ngakali sql query supaya tanggal dan jam tampil pada Extjs

$sql="SELECT a.*,to_char(a.CALL_DATE,'DD/MM/YYYY HH24:MI:SS') as CALL FROM vw_Mncshop_Out_Call a WHERE a.PROMO_ID ='$promo_id' order by a.CALL_DATE DESC";

Komentar

Popular Posts

Extjs html class render

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