EasyUI Forum
September 14, 2025, 09:49:53 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 / Re: [RESOLVED] Error using rows grouping on: January 09, 2015, 01:38:36 PM
Exactly! ... I did not put the link to datagrid-groupview.js; I thought it was included in easyui. Now everything is running perfect.
Again thank you very much!
2  General Category / EasyUI for jQuery / Error using rows grouping [RESOLVED] on: January 08, 2015, 08:53:32 AM
I'm trying to group rows in a datagrid, there is a demo at:
http://www.jeasyui.com/demo/main/index.php?plugin=DataGrid&theme=default&dir=ltr&pitem=

But I indicates a failure, with "view: 'groupview'" => opts.view.render is undefined,
With "view: groupview" error is that the GroupView object is not defined.

My code is as follows:
HTML:
          <div id="winTblBultos">
                <div id="detTblBultos"></div>
            </div>
 
JS:
     $("#detTblBultos").datagrid({
//        title: 'Detalles de Bulto',
        width: 800,
        height: 'auto',
        rownumbers: true,
        showHeader: true,
        singleSelect: true,
//        iconCls: 'icon-edit',
        fitColumns: true,
      collapsible:true,
        view:'groupview',  //
       groupField:'btoInic',
         groupFormatter: function(value,rows) {
 //           return 'Bulto ' + value + '( ' + rows.length + ' ) SKUs';
            return value;
        },
        url: "php/etiquetas.php",
        type: "POST",
//        toolbar: "#toolBultos",
        queryParams: { accion: 'cargaGridDetalleBultos', nroOC: nroOCBuscar,data: filaSelec},
        columns: [[
                {field: 'nroFactura', width:100, title: 'Factura', halign:'center'},
                {field: 'btoInic', width:70, title: 'Bulto',  required: true, align:'right', halign:'center',editor:'numberbox'},
               {field:'ccctCliente', width:150,title:'CCCT',required:true,halign:'center',editor:'text'},
               {field:'codProv',width:150,title:'Cod.Ripley',required:true,halign:'center',editor:'text'},
                {field: 'cantidad', width:100, title: 'Cantidad ', required:true,halign:'center' },
               {field: 'btoFec', width:150, title: 'Fecha ', required:true,halign:'center', editor:'datebox' },
              
                {field: 'nroPedido', width:100, title: 'Pedido', halign:'center',hidden:true},
                {field: 'nroOC', width:100, title: 'O.C.', halign:'center',hidden:true},
               {field: 'nroReserva', width:100, title: 'Reserva',  align:'right', halign:'center',hidden:true},
                {field: 'sucCliente', width:100, title: 'Sucursal', align:'left', halign:'center',hidden:true},
                {field: 'prodxBulto', width:100, title: 'ProdxBulto ', required:true,halign:'center',hidden:true },            
            ]],
    });

No GroupView, php returns the rows correctly

I'm using version 1.3.6 and also probe to last, but I get the same error

3  General Category / EasyUI for jQuery / Re: Reformatting/parsing datebox in popup form on: July 10, 2014, 03:04:22 PM
// Ademas, si agregas este cambio, El calendario se mostrara usando Lunes como primer dia ( 0 = Domingo )
$.extend($.fn.calendar.defaults, {
    firstDay:1,
});
4  General Category / General Discussion / Re: change datagrid theme dinamically [Resolved] on: March 30, 2014, 10:36:55 AM
Exactly, your suggestion is correct ... again! ... thanks a lot.
5  General Category / General Discussion / change datagrid theme dinamically [RESOLVED] on: March 29, 2014, 09:27:10 AM
Hello, i have some themes for datagrid... my users need change for better vision ( olds mans )

i offer 3-4 themes  in combobox but can't apply theme upon datagrid ... (theme builder change theme on fly ) is this possible?

the site have themes/default, themes/theme1, themes/theme2.

combobox value have = /themes/theme1/easyui.css , ....


6  General Category / EasyUI for jQuery / Re: propertygrid not show dynamic change [RESOLVED] on: March 05, 2014, 09:15:03 PM
Very thanks, you response work for me!

7  General Category / EasyUI for jQuery / propertygrid not show dynamic change [SOLVED] on: March 05, 2014, 11:30:21 AM
Hi, im need change cell value , but this not show:

Initially charge default data from json, but when user change other related info, i need change the related info:

The code:
Code:
            
     var filas = $("#gridInfo").propertygrid('getData');
     $.each( filas.rows, function(i,o){
     if( o.name=='Base')
         o.value = row.Database;
     });
     $("#gridInfo").propertygrid('loadData',filas);
not errors found with change, but propertygrid not show data change
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!