0

我有一个应该显示大数据集的网格。我使用服务器端排序对数据进行排序,但现在我的问题是数据已排序,但它只显示第一页。

通常,GET当页面更改时会发送变量(posStart 和 count)。但是在我进行排序之后,它不会发送这些变量。它什么也不发送,这就是其他页面不显示任何内容的原因。

更新

我有以下代码:

    mygrid.attachEvent("onBeforeSorting",function(ind,type,direction){
    window.a_direction = direction;       
    window.s_col = ind;      
    var grid = this;     
    grid.setSortImgState(true,window.s_col,window.a_direction);              
    grid.clearAndLoad("getEscalations.php?endDate="+$('#endDate').val()+"&startDate="+$('#startDate').val()+"&dir="+window.a_direction+"&ind="+window.s_col+"&surveyID="+$('#surveyID').val(),function(){
        grid.setSortImgState(true,window.s_col,window.a_direction);     
    });  
});

现在这是为了对数据进行排序,现在在我运行这个函数之后,问题就出现了,只填充第一页。

4

0 回答 0