Unplanned
Last Updated: 12 May 2016 22:16 by SUNIL
ADMIN
Maria Ilieva
Created on: 05 May 2016 12:08
Category: Grid
Type: Feature Request
1
RadGrid filtering issue when RenderMode is set to Mobile and the grid is bind on the client.
RadGrid filtering issue when RenderMode is set to Mobile and the grid is bind on the client

See the movie below:
https://drive.google.com/file/d/0Bzhl0S7bXwuyYlZ1akFwdHZvWDg/view


This can be replicated in the online demo below when edit mode is set to Mobile:
http://demos.telerik.com/aspnet-ajax/grid/examples/data-binding/client-side/declarative/defaultcs.aspx
7 comments
SUNIL
Posted on: 12 May 2016 22:16
DO NOT USE the download in last comment as it will fail when 2 filters are specified for the same column and succeed when only 1 filter per column is specified.

I have already found a fix for this problem, which was to override the method Telerik.Web.UI.GridMobileFilterView._fireContextMenuFilterCommand in the content page in which a RadGrid is using client-side data binding.  The code for this fix is as attached.  You can read my detailed comments in this code to understand how I solved this issue.
Also, you can see this support ticket for more details: http://www.telerik.com/account/support-tickets/view-ticket?threadid=1015181
SUNIL
Posted on: 09 May 2016 14:12
deleted by Sunil
SUNIL
Posted on: 08 May 2016 18:51
deleted by Sunil
SUNIL
Posted on: 06 May 2016 15:06
The JavaScript file for this method is GridMobileFilterView.js
SUNIL
Posted on: 06 May 2016 14:42
deleted by Sunil
SUNIL
Posted on: 06 May 2016 14:36
I found that there is an infinite loop happening on submitting second filter in mobile render mode. This is in the method  Telerik.Web.UI.GridMobileFilterView._fireContextMenuFilterCommand and the loop that is the source of bug has this in it:  while (l._filterExpressions.get_count() != 0) {
SUNIL
Posted on: 05 May 2016 15:45
This is very important functionality and hope it's addressed soon.