I have a grid (MVC) with the following set:
.Editable(editable => editable.Mode(GridEditMode.InLine))
.Navigatable()
.Selectable(selectable => selectable
.Mode(GridSelectionMode.Single)
.Type(GridSelectionType.Row))
When the user creates a new row, or when editing an existing row, I need to be able to trap when the user changes the value in a cell and moves out of the cell. I need to be able to take the new contents of the cell that changed and do some processing on it. How can I do this?

Hi
I have been reading that there is a save event which gets triggered when a cell is left in the grid. I tried that and its working fine when I use GridEditMode.InCell as the edit mode. When I use GridEditMode.InLine nothing happens when I leave the cell (the function is not being called). But, the function is being called after i click on the "Update" button. In my scenario, i need to update some cells regarding to what was written in some other cells, so no use for me to call the function just before saving. So is there a method to notify me just when a cell has been left (or a value inside of a cell has been changed or selected e.g. from an autocomplete)
Here is my code
@(Html.Kendo().Grid<Telerik2.Models.LeistungViewModel>()
.Name("grid")
.Columns(columns =>
{
columns.Bound(l => l.LeistungNr).Width(240).Visible(false);
columns.Bound(l => l.Bezeichnung).Width(190);
columns.Bound(l => l.Datum).EditorTemplateName("DatumPicker").Width(110).Format("{0:dd.MM.yyyy}");
columns.Bound(l => l.MinT).Width(110); ;
columns.Bound(l => l.Kuerzel).EditorTemplateName("LeistungKuerzel").Width(130);
columns.Bound(l => l.MinV).Width(110);
columns.Bound(l => l.Person).Width(160);
columns.Command(command => { command.Edit().Text("Bearbeiten").UpdateText("Speichern").CancelText("Abbrechen"); }).Width(200);
})
.ToolBar(toolbar => toolbar.Create())
.Editable(editable => editable.Mode(GridEditMode.InLine))
.Pageable()
.Events(events => events.Save("Save"))
.Sortable()
.Resizable(resize => resize.Columns(true))
.Scrollable()
)
<script type="text/javascript">
function Save(e) {
console.log("Cell left");
}
}
</script>
Hello,
I was wondering if there is some kind of automatic display of custom or model errors. To check this out, I created an example in the dojo.
When the returned data contains the property defined as errors within the model, the error callback is called. But I would have expect that it creates an error message within the Grid like it does with No records available (but maybe in red). Instead the grid remains empty, neither displaying the custom error nor saying No records available.
Is there a way to enable displaying custom errors within the Grid itself like the No records available message? Or will I have to push some DOM elements there by myself in the error function? If the later, is there an event which is called when no model/custom error is there anymore so I know when to remove my DOM elements showing the error?
For short reference here the last grid example from my dojo which just creates an empty grid:
01.$('#grid3').kendoGrid({02. columns: [{field: 'name'},{field: 'age'}],03. dataSource: new kendo.data.DataSource({04. data: { apiError: ['Server is under maintainance!'] },05. schema: { errors: 'apiError' },06. error: function(e) {07. console.error('grid error:', e);08. },09. }),10. noRecords: true,11.});
In my MVC grid, I'm trapping the Edit event as follows:
.Events(events => events.Change("gridRowChange").Edit("onEdit"))
In my onEdit() method that gets called when an edit is occurring, I'd like to get a reference to the text box elements for each editable cell in the row so that I can attach an onBlur event to some of them. How do I go about getting a reference to each text box element in the row being edited?
Hello,
I am currently using Kendo as a simple text editor inside a web form. I am using it in 2 places 1 is editable and 1 is view only. I am doing it this way because of the default styling of the html that is saved renders the same on the view only box. Is there any way to resize the view only box to the size of the content in classic mode?
Thanks,
I'm in a situation where I need to use a custom function to scrape pasted clipboard data for raw image data and replace that with custom markup, but also need to support standard options like msTags and msAllFormatting. My thinking is that I'll need to write code into my custom function which manually calls the Kendo Editor methods that run the pasteCleanup option handlers. Is this right?
Has anyone done this before? There doesn't appear to be any native option to do what I'm talking about.
See attached files.
I have a pivot that is mostly functional, however clicking the column block either in the pivot grid or in the configurator indicates the columns can be sorted, but while the icon changes, nothing actually happens. This appears to be a bug.
I have also just noticed the same issue for row groups. The icon indicates there is sorting, but nothing happens.
Hi Support,
we are using bubble charts in various places and make use of the series notes to show information (rather than using the series label which would restrict us in what information is shown I believe).
When series points in the plot area are near its limit, the labels get cut off or are even completely gone, if the bubble is drawn right at the edge of the plotArea border.
As we don't know in advance where each bubble will site in the plot I also can't say "always position note beneath bubble".
Is there a way to make the kendoChart understand that the notes are part of the overall renderable area so the plot are automatically expands automatically to ensure the note labels are not cut off ? Attached an example for some cut off labels on the left of the chart but it can happen anywhere obviously.
Is there potentially also something like a "Smart Label" feature for kendoCharts where I can pass any note/label to a bubble and kendo computes the best position so it does not overlap with other labels from other bubbles and also does not render outside the plot area ? I think I ready something about smart labels in some other component from Telerik.
Regards,
Steve

