The Save Changes and Cancel Changes are are always enabled. Make it so they are enabled if there are any uncommitted changes and disabled if not
When having a filter on a number, the only option to chose, is a NumericTextBox, which adds decimals to the number (very annoying). public enum GridFilterUIRole { Default = 0, NumericTextBox = 1, DatePicker = 2, DateTimePicker = 3, TimePicker = 4, } The only way to get rid of the decimals, is to ad some scripts that does this: function NumericFilter(e) { $(e.element).kendoNumericTextBox({ "format": "n0", "decimals": 0 }); } We need a IntTextBox option. Thank you.
I have edited the kendo grid example and i will post the code where i am able to replicat.
When deleting or editing a series on the Scheduler, there is no option to edit/delete "all subsequent events". Quite often, when editing a series, users will want to adjust the selected event and all subsequent events when editing a series. iCal, Google Calendar, Outlook all support the option of editing a series in that manner. I would like the Kendo Scheduler Occurrence popup that contains the "this event only" and "entire series" options to also have options that include "all events in the series before the selected one" "all events in the series after the selected one" like other calendar implementations. Thanks
I would expect a fluent method chain to not produce side effects when a method is invoked more than once. particularly, concerning the ability to apply HtmlAttributes more than once to a method chain. This prevents me from implementing meaningful extension methods to promote a DRY approach to views. In particular, I am trying to do something like this: public static TextBoxBuilder<TProperty> PasswordFor<TModel, TProperty>(this WidgetFactory<TModel> widgetFactory, Expression<Func<TModel, TProperty>> expression) { return widgetFactory.TextBoxFor(expression).HtmlAttributes(new { type = "password" }); } public static TextBoxBuilder<TModel> AutoFocus<TModel>(this TextBoxBuilder<TModel> builder) { return builder.HtmlAttributes(new { autofocus = true }); } I am finding that because the HTML attributes is cleared in your base implementation.. this.Component.HtmlAttributes.Clear(); it doesn't support an aggregation of attributes, but instead it's last-man-in. that defeats the purpose of extensibility and effectively insists upon repetition and sort of brittle design that a copy/paste architecture results in. I would believe it be completely acceptable to give the last-attribute-applied precedence and overwrite the value, but the reality is that we're talking about basic key/value pairs, and it shouldn't be difficult to merge the attributes as they are built. best case, right now i have to implement my own derivation of the WidgetBuilderBase and implement an extension method off the WidgetFactory that bootstraps my functionality - certainly not a stretch, but more work than should probably be necessary. public virtual TBuilder HtmlAttributes(object attributes) { return this.HtmlAttributes(ObjectExtensions.ToDictionary(attributes)); } public virtual TBuilder HtmlAttributes(IDictionary<string, object> attributes) { this.Component.HtmlAttributes.Clear(); Kendo.Mvc.Extensions.DictionaryExtensions.Merge(this.Component.HtmlAttributes, attributes); return this as TBuilder; }
Please add IntelliSense support for Angular directives in Visual Studio 2013 so this won't cause the 'green underline' error message. <div kendo-grid="myGrid" k-data-source="customerDataSource"></div>
There is no reason it should use the default maxJsonLength; especially since it is inaccessible to change.
add maximize, minimize or close actions on sortable panel demo
The Telerik MVC wrappers do not innovate at the same pace as Kendo UI Proper. They are missing attributes and actions that are available in the javascript versions, and it is plain to see that some features will be added when you guys "get around to it". It would be so much better for customers if you guys would post the code to the Telerik organization on GitHub, and make it private, then allow customers to sign CLAs and have access to the source. That way, those of us (like myself) who have added new features and are maintaining their own branches internally can submit PRs to add our own value to a product we pay a heck of a lot of money for. I personally would be able to close at least 5 requests on this forum from submitted pull requests, just in work I've already done. Thanks for your consideration.
Currently, it's very difficult to set up a grid that has a calculated column, where the result is not editable by the user. It's pretty easy to set up a javascript function to calculate and update the value using `dataItem.set("Column", value)`, but this does not work if the column is not also Editable. Currently, you need to hack together some kind of text replacement for the Editor Template, and there doesn't appear to be a simple way to do this from the MVC wrappers. You can create a disabled or readonly textbox, but I'd prefer that it looks like those columns where Editable is set to false.
The Kendo UI Grid currently supports posting the rows in the grid back to the server with the rest of the form, but in order to do this you have to add ClientTemplates for each column, with a hidden input to store the value. If you want to use client-side validation with this setup, you have to add the validation attributes to the hidden inputs as well. In an ASP.Net MVC situation, this adds up to a lot of manual synchronization between the validation attributes that exist on the viewmodel and the corresponding columns in the view. It would be great if the grid could enable this type of behavior in a way that is more automatic and requires less manual synchronization between the viewmodel and view. For example, if there was some kind of MVC helper that would take the display expression and name for the hidden input and would generate it automatically, complete with the validation attributes from the property being bound to, that would be great.
in Thailand use Year is Buddhist Datepicker not work and another problem can't not research in google so another tools is cool
i need to scroll and view the grid header content when there is no data. even i used .Selectable() but tat does not help me.please advice
It would be awesome, if an automatic sanitizing of the ColumnName property would be implemented in one of the future releases of the MVC.NET. Reason: When binding a DataTable to the MVC-Grid and using client side pagination, a Javascript error occurs if any column inside the DataTable contains a character which is not allowed in Javascript variables (like spaces).
Just getting started with Kendo Grid - below is my VB.NET razor code (I know, I know) working against a System.Data.DataTable for a model. The DataTable contains columns in it where some of the ColumnNames have spaces. The web page successfully renders my table, but, it errors due to the Kendo's row template, it seems. Dim mainGrid = Html.Kendo().Grid(Model.MainTable) _ .Name("Grid") _ .Columns(Sub(cols) cols.AutoGenerate(True) End Sub) _ .DataSource(Sub(dSource) dSource.Ajax() End Sub) _ .Pageable() _ .Sortable() _ .Filterable()
Please go through this thread. http://www.telerik.com/account/support-tickets/view-ticket.aspx?threadid=766782 Even if we are allowed to add additionalData in the Grid's Read method, that data is not properly passed on to the corresponding ViewModel on the MVC controller action. I had to write JS using the dot notation for objects and indexer for arrays to get it passed properly. My request is, if the additionalData is already json, allow it to be passed properly.
Column Menu has a list of columns available in the Grid, When we uncheck selected Column from list (that is hiding from the list). That time Column has to be close. As of now, hiding column from the list using Column Menu makes Column Menu to jump to top corner of the browser.
We are not able to perform aggregation method sum on Data Table decimal field, it will show "No generic method 'Sum' on type 'System.Linq.Enumerable' is compatible with the supplied type arguments and arguments. No type arguments should be provided if the method is non-generic." exception, It will be much useful for the user, once it is rectified.
It would be nice if grid could load edit and create forms from server side by get request.and then save them by post request. it would be much more easier if some fields in edit/create form could be saved without loading in grid. And also there would be much better control on load data if it is possible to check some conditions in edit form through server. At the end I suggest to change grid widget to: @(Html.Kendo().Grid<Model>() .DataSource(ds => ds .Ajax() .Read(r => r.Action("FillGrid", "Controller")) .GetCreateForm(c => c.Action("Create", "Controller", "Get")) .Create(c => c.Action("Create", "Controller", "Post")) .GetEditForm(u => u.Action("Edit", "Controller", "Get")) .Update(u => u.Action("Edit", "Controller", "Post")) )