I want to perform automatic grouping at run-time under certain conditions. I am currently handling it by attaching to .DataBound event and if a js flag variable is set then I call:
var grid = $("#myGrid").data("kendoGrid");grid.dataSource.group({ field: "FieldToBeGrouped" });
Is there a more recommended way?
Reason I am asking is I am noticing some oddities when it executes the grouping where it takes longer than expected and results in browser error Uncaught RangeError: Maximum call stack size exceeded. The end result does have the grid grouped as I would expect but the error and execution time is worrisome.
Note the field that is being grouped is listed as Hidden. Also I do not want to give the ability for the user to group other columns (or think that they can) so I have not included .Groupable() in order to not show the grouping toolbar. I did try including .Groupable() and still noticed same issues.
We have a dialog where a user needs to select an item from a drop down list. The dialog has an OK and Cancel button. We want to validate the selection when the user clicks OK but not when they click cancel. Is there a way I can do this with actions or is the only alternative to add buttons as content and handle the close on our own?
Thanks,
~Justin
Hi,
I use Kendo Editor ASP.NET MVC .
I paste some pictures and I save the content of the editor in my database.
The size of the content is ~20Mo.
Later, when I want to resume the content to modify it, I have the error :
Error during serialization or deserialization using the JSON JavaScriptSerializer. The length of the string exceeds the value set on the maxJsonLength property.
In my web.config file I added a maxJsonLength, but that doesn't change anything
What solution(s) do I have?
Thanks,
Regards


Hello,
I have Many-To-Many Relationship problem in my Grid.Searched the examples but could not find a way to do the column binding (unless using separate ViewModel). What I tried to do is:
columns.Bound(o => o.PERSON.EDUCATIONs.Select(m => m.E_DEGREE)).Title("Degree").Width("12.5%");That, of course, gives the following error:
Bound columns require a field or property access expression.
Is it possible to achieve the above?
Thanks
I have an editable grid with a custom template:
1..Editable(editable => editable2. .Mode(GridEditMode.PopUp)3. .Window(w => w.Width(600))4. .TemplateName("Inspection")5. ) Hi all.
I tried to select multiple events with the current Firefox and current Safari on the demo site. Without success. CMD-LeftMouseButton doesn't work.
What is the right way to select multiple events?
Kind regards
Bernd
1. the DB is case sensitive and cannot be changed
2. we can put an upper case index (which would get used) but not a lower case one
I'm looking for some method of changing the LOWER() to UPPER() when using ToDatasourceResults preferably without having to write my own version of it. Is there anywhere in the code that I can override to modify this behaviour?

I am updating a grid cell with a date value on a button click from a custom command in the row (see code below). I am able to successfully add the value to the cell but I would like to have the cell show the red triangle in the upper left corner (see attached pic) that shows the user the value in the cell has been edited.
function activate_deactivate(e) { e.preventDefault(); var tr = $(e.target).closest("tr"); //get the row var dataItem = this.dataItem($(e.currentTarget).closest("tr")); var data = this.dataItem(tr); //get the row data so it can be referred later var ad = dataItem.ActivatedOn; if (isDateActive(dataItem.ActivatedOn, dataItem.DeactivatedOn) || !dataItem.DeactivatedOn) { //set the deactivated date var strTodaysDate = getShortDate(); data.set("DeactivatedOn", strTodaysDate); } else { //clear the deactivated date (Now Active) data.set("DeactivatedOn", null); }}