EasyUI Forum
May 03, 2024, 04:08:00 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
  Home Help Search Login Register  
  Show Posts
Pages: [1] 2 3
1  General Category / EasyUI for jQuery / Re: Haw can I change accordion panel icon? on: June 01, 2016, 04:31:54 AM
thanksssssssssss
it worked perfect

2  General Category / EasyUI for jQuery / Haw can I change accordion panel icon? on: May 31, 2016, 07:02:00 AM
Hi.

I try to change, using this sentence:

$('#acFiltros').accordion('getSelected').panel('options').IconCls = 'icon-filtro_activo_16';

or this

$('#acFiltros').accordion('getSelected').panel({iconCls: 'icon-filtro_16'});

but I cant.

Regardssss
3  General Category / EasyUI for jQuery / Re: Datalist Background Color on: March 17, 2016, 08:42:15 AM
thanksssss.

Very simple.

Regardsssssssssssssssssss
4  General Category / EasyUI for jQuery / Datalist Background Color on: March 17, 2016, 07:45:09 AM
PROBLEM:

I have one datalist. And when the DataList is loaded I execute this code $('#dlDivision').datalist('checkAll'), and all options have a yellow background color .

I don't want yellow background color appears ever.

If I check one by one, each option appears checked , and with the white background color.

I need the datalist always have white background color.

How should I do ?


MY CODE:
   function getDivisiones() {
      $('#dlDivision').datalist({
         url: 'Ajax/GmapsFiltrosDivisiones.asp',
                     method: 'get',
         textField:'Nombre',
         valueField: 'Codigo',
                    singleSelect: false,
         onBeforeSelect: function(){return false;},
         checkbox: true,
         lines:false,
         onLoadSuccess: function(data) {
                               $('#dlDivision').datalist('checkAll');
         }         
      });
   }

   $( document ).ready(  
      function(){  getDivisiones();        }
   );

5  General Category / EasyUI for jQuery / Re: Datagrid problem with lines, that have newline and carriage return characters on: November 18, 2015, 05:50:59 AM
thankssssssssssssssssssssssssss
6  General Category / EasyUI for jQuery / Re: Datagrid problem with lines, that have newline and carriage return characters on: November 17, 2015, 05:47:44 AM
I have this datagrid.

      // ********************************************************************
      // Defino el datagrid para recuperar todas las informaciones de trabajo
      // ********************************************************************
      $('#dgIT').datagrid({
         url:'Ajax/get_IT.asp',
         width: '100%',
         height: '100%',
         autoRowHeight:true,
         autoSizeColumn:true,
         toolbar: '#tbDgIT',         // Establece cual es el toolbar del grid
         collapsible:false,
         fitColumns:true,
         loadMsg: 'Procesando: Aguarde un momento.',
         striped:true,
         multiSort:false            // habilita o sehabilita el multisort del grid
      });

this are the fields that I show in the datagrid.
   FechaCarga
   UsuarioCarga
   It --> (this text can contain multiple lines)


If the "It" field contain the  newline character and carriage return character, any record are load into the grid.

And this is the ajax


<!-- #include virtual="Apl/SMR/Clases/ClassSMRIncidentes.asp" -->
<!-- #include virtual="Global/Clases/ClassDbConnect.asp" -->
<!-- #include virtual="Global/Clases/ClassAdoDb.asp" -->
<%
response.Charset="ISO-8859-1"
Dim oSF
Set oSF   = New SMRIncidentes

' Vinieron los filtros
f_NroIncidente      = Request("NroInc")
f_ItId = request("ItId")

Cantidad = oSF.getIT( f_NroIncidente, f_ItId )
rsa  = oSF.rsRowsSet

sRow = "["
For i = 0 To Cantidad - 1
   sRow = sRow & "{"
   sRow = sRow & "'NroIncidente':'" & rsa(i).Item("NroIncidente") & "',"
   sRow = sRow & "'ItId':'" & rsa(i).Item("ItId") & "',"
   sRow = sRow & "'FechaCarga':'" & rsa(i).Item("FechaCarga") & "',"
   sRow = sRow & "'It':'" & rsa(i).Item("It") & "',"
   sRow = sRow & "'DescAdjunto1':'" & rsa(i).Item("DescAdjunto1") & "',"   
   sRow = sRow & "'DescAdjunto2':'" & rsa(i).Item("DescAdjunto2") & "',"   
   sRow = sRow & "'DescAdjunto3':'" & rsa(i).Item("DescAdjunto3") & "',"      
   sRow = sRow & "'ExtAdj1':'" & rsa(i).Item("ExtAdj1") & "',"   
   sRow = sRow & "'ExtAdj2':'" & rsa(i).Item("ExtAdj2") & "',"   
   sRow = sRow & "'ExtAdj3':'" & rsa(i).Item("ExtAdj3") & "',"      
   sRow = sRow & "'UsuarioCarga':'" & rsa(i).Item("UsuarioCarga") & "',"      
   sRow = sRow & "'OrgCodigo':'" & rsa(i).Item("OrgCodigo") & "' "      
   sRow = sRow & "}"
   if i < Cantidad - 1 then
      sRow = sRow & ","
   end if   
Next
sRow = sRow & "]"
sRow = Replace(sRow,Chr(39),Chr(34))
sRow = Replace(sRow,Chr(10),Chr(32)) // Replace newline with space to work datagrid
sRow = Replace(sRow,Chr(13),Chr(32)) // Replace carriage return with space to work datagrid
response.write(sRow)
%>
7  General Category / EasyUI for jQuery / Datagrid problem with lines, that have newline and carriage return characters on: November 16, 2015, 06:16:20 AM
Hello.
I have a problem with a datagrid .
I have a data entry screen with a textbox , then each data is displayed in a datagrid .
But when in the textbox text data are loaded with newline and carriage return, in the datagrid records are not displayed .
You have to configure something ?

Best Regards
8  General Category / EasyUI for jQuery / Can I use 'selected=true' in combogrid? on: September 18, 2015, 07:33:56 AM

Im use this command

$('#cbgSucursal').combogrid('enable').combogrid('reload', 'Ajax/get_Sucursales.asp?Nom=S&IdUnico=10000);

the return json is:

["DescSuc":"POSADAS","SucServDesc":"SUCURSAL","CajaSeguridad":"N","IdUnico":"10000" , "selected":"true" },
{"DescSuc":"RENTAS SAN MARTIN","SucServDesc":"ANEXO","CajaSeguridad":"N","IdUnico":"10001" },
{"DescSuc":"POSADAS","SucServDesc":"SECTORIZADO","CajaSeguridad":"N","IdUnico":"10101" },
{"DescSuc":"OBERA","SucServDesc":"SUCURSAL","CajaSeguridad":"N","IdUnico":"20000" }]

But de combogrid not display the selected row.

Regards
9  General Category / EasyUI for jQuery / Re: Can I set footer property in the tabs object? on: September 10, 2015, 10:16:29 AM
SO EASYYY

Thankssssssssssssssss
10  General Category / EasyUI for jQuery / Re: how to get the value of other columns in a combogrid ? on: September 10, 2015, 08:08:01 AM
thankssssssssss
11  General Category / EasyUI for jQuery / can I put a datalist as readonly ? on: September 10, 2015, 06:34:24 AM
I cant do it.

regards
12  General Category / EasyUI for jQuery / Can I set footer property in the tabs object? on: September 10, 2015, 05:49:44 AM
I try but I can not do it.
13  General Category / EasyUI for jQuery / Re: how to get the value of other columns in a combogrid ? on: September 10, 2015, 05:48:27 AM
My problem is that I had several rows with the same ID . In my combogrid , the unique key was two columns.
Solution : Create a new hidden column as key with two values

Best regardsssss
14  General Category / EasyUI for jQuery / how to get the value of other columns in a combogrid ? on: September 08, 2015, 11:00:00 AM
I have this combogrid:

      $('#cbgridSucursal').combogrid({
         panelWidth: 500,
         panelHeight:250,
         required:true,
         singleSelect:true,
         missingMessage: 'Debe seleccionar una Sucursal.',
         idField: 'Codigo',
         textField: 'DescSuc',
         url: 'Ajax/get_Sucursales.asp?Nom=N',
         method: 'post',
         columns: [[
            {field:'Codigo',title:'Numero',width:40, align:'right'},
            {field:'DescSuc',title:'Nombre',width:120},
            {field:'SucServCodigo',title:'SucServCodigo',width:120},
            {field:'SucServDesc',title:'Servicio',width:150}
         ]],
         fitColumns: true,
         onSelect: function(rec){
            var g = $('#cbgridSucursal').combogrid('grid');   // get datagrid object
            var r = g.datagrid('getSelected');   // get the selected row

            selecting any combogrid row , always SucServCodigo is the first row of the combogrid

            alert('Ajax/get_Sucursales.asp?SucCod='+r.Codigo+'&SucServCod='+r.SucServCodigo);
            
                                Can I get the value of other columns in a combogrid ?
            $.ajax({
               type: 'GET',
               url: 'Ajax/get_Sucursales.asp?SucCod='+r.Codigo+'&SucServCod='+r.SucServCodigo,
               contentType :'charset=ISO-8859-1',
               success: function (result,textStatus, jqXHR) {
                  var DatSucInc = eval(result);
               },
               error: function (req, status, error) {
                  alert("ATENCION: Se produjo un error al buscar los datos de la Sucursal.");
               }
            });
         }
      });
      var grid = $('#cbgridSucursal').combogrid('grid');
      grid.datagrid('enableFilter');
15  General Category / EasyUI for jQuery / Re: Can I use local filter in combogrid? on: September 07, 2015, 05:47:56 AM
GENIOOOOOOOOOOOOOOOOOOOOOOOOO
GENIOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO

Fantastic.

Best regardssssssssssssss
Pages: [1] 2 3
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!