In my KendoUI grid I have a column with cell values like
I want this column to have filtering with multiple checkboxes so I put
filterable: { multi: true }I guess I need to implement custom filtering for that. It's like I need to parse the cell content for comma separated values and put each of that value on a separate filter checkbox. Any advise how to do that?
Hello ,
I'm preaty new to the programing and Kendo UI. But i have a task to make a grid and in it i should be able to edit/delete/update/create data in Json file.
After watching demo a question popped up in my head.
How does this part of code work :
var dataSource = new kendo.data.DataSource({
transport: {
read: "/Products", update: {
url: "/Products/Update",
type: "POST"
},
destroy: {
url: "/Products/Destroy",
type: "POST"
},
create: {
url: "/Products/Create",
type: "POST"
}
Specialy those parts with [ url: "/Products/Create" ] .
What should i do to get it ? I use XAMPP test server and use my URL which is "localhost:8080/TestJson.json".
Replacing it with my URL doesnt do much.
var Pfad = "http://localhost:8080",
dataSource = new kendo.data.DataSource({
transport: {
read: {
url: Pfad + "/TestJson.json",
dataType: "json"
},
update: {
url: Pfad + "/TestJson.json",
dataType: "json",
type: "POST"
},
destroy: {
url: Pfad + "/TestJson.json",
dataType: "json",
type: "POST"
},
create: {
url: Pfad + "/TestJson.json",
dataType: "json",
type: "POST"
},
All it does is populate my Grid , but i can't edit or delete anything in that Json file.
I know that it is wrong but i can't find a solution. Maybe there is a page where i can read about it.
Hi,
I'm having some trouble getting the donut chart to work with multiple series when binding from remote data. Here's my code:
$("#projectTimeBreakdownDonutChart").kendoChart({ title: { text: "Time by Team", position: "bottom" }, legend: { visible: false }, seriesDefaults: { type: "donut", overlay: { gradient: "none" }, labels: { visible: false } }, series: [{ field: "data", categoryField: "name" }]});And here's the json I'm getting back from my controller
[{ "name":"Duration", "data":[{ "category":"Team 1", "value":5000 },{ "category":"Team 2", "value":130 },{ "category":"Team 3", "value":3 },{ "category":"Team 4", "value":8 }]}, { "name":"Amount", "data":[{ "category":"Team 1", "value":72000 },{ "category":"Team 2", "value":18000 },{ "category":"Team 3", "value":300 },{ "category":"Team 4", "value":670 }]}]Thanks
I posted a question yesterday about how to remove the dirty indicator from a grid and the post has disappeared.
Why would that happen?
Thanks,
Reid
Hello,
I discovered a bug with the grid's vertical scrollbar when dealing with asynchronous read call. Indeed, if you start moving scrollbar's slider with the mouse up and down, you'll end up firing a bunch of Transport.Read requests. If those requests are treated asynchronously (like most ajax requests), the grid seems to have some problem displaying the right data.
I did create this snippet to simulate the problem. If you take a look at my print screen, you'll notice that the displayed indexes are from 42401 to 42600 out of the 250 000 records. However, you'll also notice that the slider is almost at the bottom of the slider. Based on the __count value provided to the grid, the slider position for those indexes should be somewhere near the top of the scrollbar (about 20%).
This image alone is enough to confirm a problem with the grid scrollbar. However, the real problem is not the slider position but the displayed data itself. Indeed, by releasing the slider at this position I was expecting the indexes over 230 000 to be displayed but it's not the case.
Is there a workaround to fix this?
Best regards,
Simon

I was wondering if there is any way to retrieve all the problematic cells that the validation scripts are flagging? Sometimes users will have hundreds if not thousands of rows, and many columns, and I'd like to be able to give them a list of problematic cell coordinates so that they don't have to hunt through the UI. Is this possible?
I'm generating spreadsheets server-side, and with the Kendo spreadsheet now available, would like to make those visible in the browser rather than having the client download the file. The spreadsheets are being created by the open source EPPlus library. I'm not having difficulty showing the spreadsheet, but it's displaying incorrectly.
When doing a server-side import, the number formatting in the cells is lost during the ToJson call back to the client. This can be seen in the Server Import/Export Demo as well. The correct numeric values are present, but their display is wrong.
I'm sending the data back to the server with
public ActionResult GetSpreadsheet(string fname){ Stream stream = ReportsController.GetStreamFromCache(fname); if (stream != null) { Workbook workbook = Workbook.Load(stream, Path.GetExtension(fname)); return Content(workbook.ToJson(), MimeTypes.JSON); } return new EmptyResult();}
we would like to migrate our grid to Kendo UI grid and if it fits for us we will buy it. I tried to implement it, but I'm blocked with an issue. The id column works only if I provide 'id' instead of '_id' in the json and all the json property have to be the same as the model and column fild name.
For example if You change the 'title' filed to 'title2' and do the same in the column settings, the grid fails, there are empty columns. Or if I change the '_id' to 'id' the id column will contanins the values.
So for me it seems the mapping of the model fails, the 'from' doesn't work properly.
Check the example in jsbin: http://jsbin.com/welone/1/edit?html,css,js,output