Show Posts
|
Pages: [1]
|
1
|
General Category / EasyUI for jQuery / JQueryUI
|
on: March 14, 2012, 12:08:21 PM
|
Hi all,
How to do to JQueryUI works with JEasyUI? I'd like to work with the datagrids from JEasyUI and the others components from JQueryUI, but, when I put the js and css files on head, the grid doesn't works fine.
Thanks, Luciano
|
|
|
3
|
General Category / EasyUI for jQuery / Datebox + Calendar
|
on: March 13, 2012, 07:14:13 AM
|
Hi All,
I have a datebox field and I'd like to change the months name on calendar that appears with datebox. How to do it?
$(".campoData").datebox({ currentText: "Hoje", closeText: "Fechar", formatter: function(date){ var y = date.getFullYear(); var m = date.getMonth() + 1; var d = date.getDate(); return (d<10?('0'+d):d)+'/'+(m<10?('0'+m):m)+'/'+y; }, parser: function(s){ if (!s) return new Date(); var ss = s.split('/'); var d = parseInt(ss[0],10); var m = parseInt(ss[1],10); var y = parseInt(ss[2],10); if (!isNaN(y) && !isNaN(m) && !isNaN(d)){ return new Date(y,m-1,d); } else { return new Date(); } } });
|
|
|
5
|
General Category / EasyUI for jQuery / Re: Fill a datagrid with a JSON
|
on: February 29, 2012, 10:46:59 AM
|
I solved this way:
var dadosQuadro1 = $.parseJSON('<%= gsJsonQuadro1 %>'); $('#quadro1').datagrid({ title:'Demonstrativo de utilização das horas na Unidade/Julgador', columns:[[ {field:'DESCRICAO_CODIGO_RHAP',title:'',width:300}, {field:'OPERADOR',title:'',width:30,}, {field:'SIGLA',title:'<b>Sigla</b>',width:50}, {field:'CODIGO_RHAP',title:'<b>Código</b>',width:50}, {field:'HORAS',title:'<b>Horas</b>',width:90} ]] }); $('#quadro1').datagrid('loadData', dadosQuadro1);
|
|
|
8
|
General Category / EasyUI for jQuery / How to show a message in the datagrid when no records?
|
on: February 27, 2012, 05:03:40 AM
|
Hi all, I have a datagrid like below: $('#listaRhapFRA').datagrid({ title: 'Relação dos FRAs', url:'ControleAcompanharRhap.asp', queryParams: {"psAcao": "obterfra", "psCPFUsuario": lsCPF}, columns:[[ {field:'CHAVEFRA', checkbox: true}, {field:'DATAINICIAL', title:'Data Inicial', width: 150}, {field:'DATAFINAL', title:'Data Final', width: 150}, {field:'DATAFECHAMENTO', title:'Data Fechamento', width: 150}, {field:'EQUIPE', title:'Equipe', width: 150}, {field:'SITUACAO', title:'Situação', width: 150} ]], loadMsg: 'Carregando FRAs', });
How to show a message (ex: No records found!) in the table when no records is returned? Thanks, Luciano
|
|
|
|