Forum

November 2nd, 2014
A A A
Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

The forums are currently locked and only available for read only access
sp_Feed Topic RSS sp_Related Related Topics sp_TopicIcon
Group scrolling
01/12/2010
16:10
Avatar
srfran73
Member
Members
Forum Posts: 3
Member Since:
21/10/2010
sp_UserOfflineSmall Offline

Hi, first sorry for my poor english.

My problem is the impossibility to virtual paginating when i group the data. I have a normal grid, with virtual scrolling:

    jQuery("#tabla_recogidas").jqGrid({
        sortable: true,
        url:'getRecogidasConfirmacionJQGrid.json',
        datatype: "json",
        height: 190,
        autowidth: true,
        //width: 750,
        colNames:['<fmt:message key="datatable.acciones"/>','<fmt:message key="recogida.fecha"/>','<fmt:message key="recogida.num.recogida"/>', '<fmt:message key="recogida.estado"/>',
                      '<fmt:message key="recogida.cliente"/>', '<fmt:message key="recogida.remitente"/>',
                      '<fmt:message key="recogida.zonaRemitente"/>', '<fmt:message key="recogida.conductor"/>'],
        colModel:[     {name:'acciones',index:'acciones', width:50, sortable:false, search:false},
                    {name:'fecha',index:'fecha', width:65},
                      {name:'recogida',index:'recogida', width:150},
                      {name:'estado',index:'estado', width:65, sortable:false, search:false},
                      {name:'cliente',index:'cliente', width:150},
                      {name:'remitente',index:'remitente', width:150},
                      {name:'zona',index:'zona', width:150},
                      {name:'conductor',index:'conductor', width:150}],  
        rowNum:50,
        rowTotal: ${num_total_recogidas},
        scroll:1,
        loadonce:false,
        mtype: "POST",
        rownumbers: false,  
        shrinkToFit: true,
        rownumWidth: 40,
      
        pager: '#ptabla_recogidas',
        sortname: $("#chngroup").val(),
        viewrecords: true,
        sortorder: "asc",
        caption: "",
        postData: {
         manautBusq: $('#manautBusq').attr('value'), fechaBusq: $('#fechaBusq').attr('value') , recogidaBusq: $('#recogidaBusq').attr('value') , fecPrevistaRecogidaBusq: $('#fecPrevistaRecogidaBusq').attr('value') ,
         clienteBusq: $('#clienteBusq').attr('value') ,
         remitenteBusq: $('#remitenteBusq').attr('value') ,
         zonaBusq: $('#zonaBusq').attr('value') ,
         conductorBusq: $('#conductorBusq').attr('value') ,
         fecrearecBusq: $('#fecrearecBusq').attr('value'),
         zonaNull: $('#zonaNull').attr('checked') ,
         conductorNull: $('#conductorNull').attr('checked')},
            loadComplete : function (request) {
                if (request.error == 1){
                    $("#dialog-modal").dialog({
                        height: 140,
                        width: 300,            
                        modal: true,
                        title: "<fmt:message key="titulo.msg"/>",
                        buttons: {
                        <fmt:message key="boton.cerrar"/>: function() {
                                $(this).dialog("close");
                            }
                        }
                    });
                    $("#dialog-modal").html(msgError(request.msg));                        
                }
            }
        });

I see the virtual scrolling normally, but when i group the data with this parameters:

grouping:true,

groupingView : { groupField : [$("#chngroup").val()], groupColumnShow : [true], groupText : ['<b>{0} - {1} Item(s)</b>']  },

I lost the virtual scrolling and the paginate is with the normal buttons of advance and rewind…

Are there any way to mantain the virtual scrolling with the grouping????

Thx a lot.

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
21 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

OlegK: 1255

markw65: 179

kobruleht: 144

phicarre: 132

YamilBracho: 124

Renso: 118

Member Stats:

Guest Posters: 447

Members: 11373

Moderators: 2

Admins: 1

Forum Stats:

Groups: 1

Forums: 8

Topics: 10592

Posts: 31289

Newest Members:

, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.com

Moderators: tony: 7721, Rumen[Trirand]: 81

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information