This is a migrated thread and some comments may be shown as answers.

Filter and Paging are Not working correctly

7 Answers 833 Views
Grid
This is a migrated thread and some comments may be shown as answers.
José Antonio
Top achievements
Rank 1
José Antonio asked on 04 Jan 2012, 05:14 PM
Hi,

I've been playing with Kendo UI because and I found the following issues:

1. If I go to, for example, page 5 but I make a filter on Grid that returns only 1 page, the grid doesn't show me page 1... I have to click page 1 in order to show me the results... You can try it: http://demos.kendoui.com/web/grid/remote-data.html , then go to page 5, then filter Order date equals to 10/28/1996

2. The second issue is related to the first, because as you can see when filtering Order date equals to 10/28/1996 the Grid returns a row with Order date = 10/27/1996 

Greetings

7 Answers, 1 is accepted

Sort by
0
Accepted
Rosen
Telerik team
answered on 05 Jan 2012, 03:28 PM
Hello José Antonio,

Indeed, I was able to observe the issue with paging during filtering. However, we managed to address it and the fix will be included in the next release of the library. Meanwhile, I have updated your telerik points as a token of gratitude for bringing this to our attention.

Regards,
Rosen
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
D
Top achievements
Rank 1
answered on 05 Jan 2012, 05:07 PM
I am having the same issue, I thought about manually setting the grid back to page 1 after the filter but I can't work out how do that.

Is that possible?
0
José Antonio
Top achievements
Rank 1
answered on 05 Jan 2012, 05:15 PM
Thanks Rosen, I'll continue evaluating some frameworks for my webapp so I'll continue playing with KendoUI too... I'll be posting any other issue...

Regards.
0
S
Top achievements
Rank 1
answered on 18 Jan 2012, 03:49 PM
Dear Support,

We are currently ussing the KENDO UI grid with filtering and paging and we are having exactly the same problem highlighted below.

To re-create the error:

1: Navigate to url  http://demos.kendoui.com/web/grid/remote-data.html
2: Click on page 5
3: Filter Freight so that Frieght is equal to 7.45
4: You will notice that nothing shows in the grid. until you click on the number 1 (poagination) and the correct page is displayed

1. If I go to, for example, page 5 but I make a filter on Grid that returns only 1 page, the grid doesn't show me page 1... I have to click page 1 in order to show me the results... You can try it: http://demos.kendoui.com/web/grid/remote-data.html , then go to page 5, then filter Order date equals to 10/28/1996

Unfortunately this is a major blocker for a project we are currently working on and unfortunately we do not have the luxury to wait until the next release. Can you provide me with an update to whether you are close to finalising a fix for this problem? Or whether you can provide me with a temporary solution? Obviously this is a major flaw in the Filter and Paging so we can't actually use until the problem is fixed.

Thanks, Sam

0
Alfonso
Top achievements
Rank 1
answered on 31 Jan 2012, 10:32 AM
There is a related issue (or non expected behavior),
if you scroll down and then change the page, 
we expect the grid to show the new page from top,
instead stays down. 
is possible to 'quick fix' this?
when do yo plan to release a new revision with this fixes ?

Thank you, and congrats for your great work!
0
Jayalakshmi
Top achievements
Rank 1
answered on 31 Mar 2012, 09:03 AM
IS this Issue Resolved. Even I face the same problem
0
Khushali
Top achievements
Rank 1
answered on 02 Apr 2012, 11:53 AM
Hi All,

I think we all have the same problem. I tried using some logic to fix it. It works, though a temporary solution.

var allThElems = $("#grid").find("th");
    for(var i = 0; i< allThElems.length; i ++){
      $(allThElems[i]).data("kendoFilterMenu").form.find("button[type=submit]").click(function(e) {
                        var grid = $("#grid").data("kendoGrid");
                         grid.dataSource.page(1);
                        });
    }

This will explicitly make the grid to remain on page 1.
Hope this helps :)

Regards,
Khushali
Tags
Grid
Asked by
José Antonio
Top achievements
Rank 1
Answers by
Rosen
Telerik team
D
Top achievements
Rank 1
José Antonio
Top achievements
Rank 1
S
Top achievements
Rank 1
Alfonso
Top achievements
Rank 1
Jayalakshmi
Top achievements
Rank 1
Khushali
Top achievements
Rank 1
Share this question
or