We have been using an older version of your libraries from 2021 and decided to update it to the current one.
We have a grid and we have been using server-side filtering/sorting/etc... In the old version there used to be syntax like this:
filter: RequestStatus~eq~1~and~PersonFullName~contains~'Steve'
We took this string, parsed, and processed the data. However, with the update, this is no longer the case. Now it looks like this:
And we are clueless on how to properly parse and or process this format on our back end.
This is the code that we use on the front end to query the back end.
gridDataSource = new kendo.data.DataSource({
serverFiltering: true,
serverGrouping: true,
serverSorting: true,
serverPaging: true,
serverAggregates:true,
pageSize: 25,
transport: {
read: {
url: __config.baseUrlAbsolute + "Requests/Home/GetCurrentViewRequests",
dataType: "json",
data: function () {
return {
type: requestTypesList[requestType],
id: personId,
};
}
}
},
});
})
Our backend is .NET MVC and this is the method that we have used to process the request. But this no longer works.
public string GetCurrentViewRequests([DataSourceRequest] DataSourceRequest request, int type, int id)
{
var filters = Request.Params.Get("filter");
var groups = Request.Params.Get("group");
var sorts = Request.Params.Get("sort");
//Process
}
Would you be so kind as to point us in the right direction on how to properly parse and process the request?
Hi,
Thank you for your answer to my merged rows question previously. Now I have the problem of getting the grid contents to sustain the format if I use Filter, Clear buttons in the Filter pop up or Sort. Example:
After setting the filter say for "Equals" John Smith I get:
Buuuut. I really want:
Is there a way to "bypass" or extend the function where I could use the same implementation to restructure the rows like the above.
javascript - Does Kendo Grid support cell merge or not? - Stack Overflow
I think maybe I could create a listener to catch the Filter/Clear/Sort command and capture the JavaScript array structure and implement a solution similar to the one in Stack Overflow where I loop though the array and merge the cells of the records when the text content is equal? Maybe I am imagining this?
I have jQuery and kendo versions set to 2013.3.1119. Kendo Grid shows up but sort, search, selection seems to be breaking. Unfortunately, I cannot upgrade.
there is another way to include grid is using HTML table, can I accomplish using this in older versions !
what can I do with this ?
Thanks