Currently we can only have the CRUD Operations on the remote data source. Atleast thats what it looks like. Is it possible to have more custom operations on Data source that can make remote calls. Or maybe there are and I am not aware of it.
Currently the grid fires the change event if the user clicks on a row. I can use this event to do something, for example, update controls in a detail part of the page below the grid. If the user groups or sorts the grid, the grid rebinds. It does fire an event for that, but since the grid also removes any selection, to be consistent, it should also fire the same event it fires when the user selects a row. After all...the selection is changing (to nothing).
I'd like the formatted "text" property of the DatePicker widget to be bindable to a model. The DatePicker widget currently supports the value binding. This way the model would contain the same string value entered by a user and not a javascript date object.
Currently all "data*-template" options are limited to use ad #ID selector to pick the template script from the page. This is problematic in big SPAs that have multiple pages dynamically loaded with possible collisions in IDs. To avoid the hassle of mantaining unique ids across all pages (or having to dynamically generate ids) I therefore propose to allow for any jQuery selector in those options. <script type="text/template" class="myAwesomeTemplate"></script> <div data-bind="source: dataSource" data-template=".myAwesomeTemplate"></div> To maintain retrocompatibility a first search with the "#" can be performed before executing the selector. Since I am not very good with GitHub, here is the code that I did implement: function parseOptions(element, options) { var result = {}, option, value, templateElement; for (option in options) { value = parseOption(element, option); if (value !== undefined) { if (templateRegExp.test(option)) { templateElement = null; if(!value) { throw new Error("Missing template selector in option " + option); } try { templateElement = $("#" + value); if(!templateElement.length) { templateElement = $(value).first(); } } catch (jQueryError) { throw new Error("Invalid template selector " + value + " for option " + option); } if(!templateElement.length) { throw new Error("Can't find a template with the specified " + value + " selector in option " + option); } value = kendo.template(templateElement.html()); } result[option] = value; } } return result; }
The filter row is really nice, but for more flexibility it'd be nice to not hit the server until a user has populated the row with all the filters they want. The way it works now is if you tab out/hit enter/select dropdown list item/etc. it hits the server. The ability to filter when the user explicitly wants to isn't really there.
It would be really useful to be able to modify request parameters in the RequestStart event of the dataSource; this would be consistent with the functionality of the Kendo Tooltip RequestStart Event.
I was using DataSource.Read with additional parameters to get data from server to load grid. It was working fine with Q1. But after upgrading libraries to Q3 it is not working. It passes "null" parameter value to controller.
Currently, an inherited DropDownList widget can only bind to another of the same type or another vanilla DropDownList (via alternativeNames array at kendo.all.js line 32813) A use case is that I originally created ParentCustomDDL and ChildCustomDDL with the intention of cascading from parent -> child. Since alternativeNames is hard-coded, I was forced to merge the code into one clumsy widget so that name matches name.
For controls like ListView (web and mobile). We have features like server filtering. I feel there should be a configuration to perform filter operation mixing both client side and server side filtering. Scenario 1: Lets say I have 20 results to be populated based on the filter criteria and I have 2 results already present on the client side and rest 18 are present on the server rather than fetching all 20 results from server freshly this way data transfer can be optimized up to certain extent. Scenario 2: filtering should results based on the client side results and list out 2 results and there should be option load more from server similar to outlook mail search feature.
We have a MVVM object with a change handler. One of the public properties on this MVVM object is a datasource. This datasource has some default aggregate configuration, but some aggregate configuration is added later. (see first screenshot) However, when the dataSource.aggregate(..) method is called the MVVM's change handler fires (see second screenshot). This is ok, but there is nothing to distinguish that the change handler has been fired ONLY because the aggregate configuration has changed. When run some code when the datasource is defined or loaded, but we don't want to run the same code when the aggregates changes. Vice-versa someone might want to run just a smaller piece of code when the aggregate config changes. Can the event that gets fired to the mvvm change binding have an e.action = 'aggregate' or similar?
It is possible to retrieve IEnumerable collection from DataSourceResult, but there is no option to get IQueryable collection that has not been evaluated. I think it might be helpful to use filters from grid that can be used to generate a query.
Hello, I knew there was "set" function for kendo.data.ObservableObject, it could change value of specified field. But after this action, we need call "sync" method for data source manually, and sync action will fire some events/ data bound again. Is there another method, that we only hope sync value of specified field, without fire events and data bound again? Thank you.
PouchDB is a great way to both persist and sync data. It would be beneficial for DataSource to support PouchDB database, the way it currently supports SignalR and OData. Here's PouchDB site: http://pouchdb.com
We need to bind RDF data to kendo controls. But we have a problem with some symbols in RDF standarted data format. Please, add support RDF data in kendo Observable object or create new type of observable data
Wish to have a "reset" or "clear" method to restore a DataSource object to it's initial unpopulated state--specifically when used behind a search text box, and need to clear the datasource when the user removes all search text.
I have a Site http://www.amb-selfiesquaregurgaon.com/ . Can i track its page views,browsing time and any other statistical methods on this..can you please suggest me how can i achieve my goal.
I am creating a realestate website, I want my url to be readable, For example my site url is http://sitename/property/3, (3 represents property id) I want to change it like this link www.paarthrepubliclucknow.in Of course they are using id and all. How can I replace "property" with something like "residential-property-in-india" in my url and it should be changing dynamically according to search. I hope it is clear what I want to do...