EasyUI Forum
September 14, 2025, 10:58:15 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
  Home Help Search Login Register  
  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
2  General Category / EasyUI for jQuery / Re: addin dilog to panel on: March 13, 2012, 07:39:15 AM
Try this way:

$("#blah").html([your html data]).dialog();
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();
      }
           }
   });
4  General Category / EasyUI for jQuery / Datagrid with variable number of columns on: February 29, 2012, 10:50:01 AM
How to create a datagrid whose number of columns is variable?
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);
         
6  General Category / EasyUI for jQuery / Fill a datagrid with a JSON on: February 29, 2012, 06:09:52 AM
How to fill a datagrid with a String in JSON format without call an URL?
7  General Category / EasyUI for jQuery / Checkbox on Datagrid on: February 27, 2012, 11:06:58 AM
When I add the option to have checkbox in my datagri , and select one or more checkbox, how to get the value of each checkbox by clicking any button on my page?
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:

Code:
$('#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
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!