The current built-in _tmpl: method of kendo.grid constructs a very nice automatic row template that is aware of alternation, hasDetails and all the columns.* configuration settings such as formats and attributes. Two new templateSettings could make the automatic template even more useful, especially for row-wise highlighting based on data conditions (aka traffic highlighting): templateSettings.autoGridTrClassHook : string - inject addtional classes or kendo template source into the class="..." attribute of the <TR> element in the automatic row template templateSettings.autoGridTrHook : string - inject addtional html source or kendo template source into the <TR> element of the automatic row template Example $('#grid').empty().kendoGrid({ dataSource: myRemoteDS, ... templateSettings: { autoGridTrClassHook: '# if (data.Recent==="Y") { # is-recent #}#' }, ... Some css .is-recent { font-style: italic; background: #FFFFCC; } .is-recent.k-alt { font-style: italic; background: #FFFF99; } .is-recent.k-state-selected { font-style: italic; background: #6600FF; }
With the kendoGrid, if no columns are specified, all columns are automatically rendered. However, dates (at least, I have not tested other non-strings) are rendered in non-human-readable form (at least if they are from SQL Server). Since date rendering is tied to culture parameters, it would make sense to specify culture at the grid object level and have dates, currency, etc. render according to that. It would also be great to have filters setup for these different types applied to dynamic columns.
We use the Kendo Grid with a DataSource connected to an OData service. We also use the OOB Kendo Grid functionality to hide columns in the UI (column.hidden = true). Through testing we found out that the Kendo grid does not use the OData option of selecting specific columns for retrieval. The grid will request all columns for a table, which leads to overhead in the amount of data sent from the server to the client. We sometimes have tables with 50 columns, for which only 10 columns are shown.
The command button set should be configurable on a per row basis. This can be accomplished by accepting a lambda function for the column.command configuration attribute. Presently only a string or array is accepted
I have a list of entities with a large set of fields, but I don't want to load and display all of them in the grid. Entities have also a couple of complex properties which are displayed via checkbox lists. Though, I want them to appear when editing a single entity. For now, I'm using custom "create" and "edit" pages, but it would be great to have an "url" option for popup editing. This url would return some html (MVC partial view in my case) which would be rendered in the popup window.
I know it has been rejected and I think it was not given any good reason. Managing dropdownnlist in datagrid is a pain and just not having pair value/text is missing and using "foreign key columns for this" is not an acceptable answer for me. It should be a basic type of column, not a template, and show a text but be set as a value because we use the text for translation purpose, so the text cannot be the value. Even with the help from your technical support, when you have many of them in one grid, it's takes a long time to code and maintain. Such a common and basic feature should be with the basic controls of the grid.
Support custom attributes for Kendo grid When kendo grid is applied to an html table, all custom attributes that have been applied to rows, cells or data within cells is lost. It would be great if you could preserve these. I realize the challenge in distinguishing between what is considered a *custom* attribute. Perhaps enforce specific naming conventions and support preservation of those. Perhaps anything starting with "data-" is preserved?
The grid widget has a columns editor which allows a field to be a custom widget, like a drop-down list for an autocomplete. I want the title column to be selected from a drop-down list
If an Ajax validation (sync or async) is called by a custom validation, kendo grid navigation should move to next or previous cell by pressing once tab or shift + tab key, if it's valid -as normally- or cancel edit if it is not. +info in this thread: http://www.telerik.com/forums/ajax-validation-with-grid
By Default the Grid filters for text columns only do the following comparisons; Equal, Contains, Starts, Ends (& Not's) We are missing: Greater Than, Less Than, GE & LE. Given the alphabet is ordered, it is reasonable & desirable to add these 4 comparisons to text as well as numeric & date columns. This empowers a filter like (Surname >= "L" AND Surname < "O") so we can find all customers with Names starting with L, M & N
Confirmation messaage required to before delete record from a data grid. It should be looks like 'Are you sure you want to delete the record
When a Kendo Grid is given a detailTemplate, the "master" rows can generate detail rows. When this first happens, the detail row is visible to both the detailInit and detailExpand event handlers: e.dataRow.is(":hidden") is false However, during subsequent expansions and collapses, the row is no longer visible when detailExpand is entered: e.dataRow.is(":hidden") is true The problem is that dynamic content inside the detail may have responded to a change elsewhere, and redrawn while invisible--producing an ugly mess of content when the detail row becomes visible again. Having an event that occurs after the row is made visible by the expansion would allow me an easy place to instruct the detail row contents to redraw/refresh/resize. At this time, the workaround is to use setTimeout inside the detailExpand handler. I think it would be ideal for Kendo to have a secondary event so that any future Grid enhancements for managing row content can easily adapt to our needs to tweak it at this pivotal moment.
When we add Hide/show and filtering functionalities to my grid, the filtering button is no longer shown independently and is added to the column menu. We are no longer able to guess which column is filtered since the color indicator for filtering is not visible anymore. Or make the column Menu colored when a filter is applied on the corresponding column
When using a grid vith virtual scrolling it is currently not possible to get the current result that is viewed. I wanted to show the user approximatelly where he/she currently, i.e., I wanted to display in the GUI something like "Displaying rows 501-600 of 3211" when the pageSize is 100 and the total number of rows in the Grid is 3211. This would be helpful for orientation when using virtual scrolling with a high number of results. I have tried grid.dataSource.page() and this one is not currently possible to use. The results will be something like 100,200,300,400,500,600,500,700 sometimes going back a hundred and somtimes going forward 200 when using the scrollbar to scroll downwards. Please check yourself by just creating a virtual scrolling grid with server side operations. Put the printout in the event handler for "DataBound". Page(), Skip() etc are not possible to use for the inconsistent behavior according to above. You help has not been able to find a solution or workaround for this and suggested I ask for this as new functionality.
When "Clear Filter" in grid column filtermenu is clicked,grid's dataSource's filter method is called even though the grid is actually not filtered with that field yet. eg. Load this page http://demos.telerik.com/kendo-ui/grid/remote-data-binding and directly click clear filter of any column field. It'll query the remote data. I don't want this behavior. Because the grid is not filtered by that field yet.
Kendoui Grid filterin is excellent. But we can not use filter ui without grid. Kendoui has pager plugin so we can use pager plugin with datasource also without grid. But there is no filter plugin using filterin ui without grid. I put a screenshoot from another web app which show what i mean.
The pager drop down page selector is too large and obscures other controls and the bottom of the pager frame. I hope this observation is useful. I have a screenshot but there is no facility here to post it.
Having custom sorting on the grid is really handy. But with its current implementation, we are not capable of setting this sorting logic on load. I opened a support ticket for this issue (see below), and now I'm considering extending this behaviour myself, if I can manage the time that is. http://www.telerik.com/account/support-tickets/view-ticket.aspx?threadid=931220 However, it would be so much better if this was supported out of the box http://dojo.telerik.com/IFoYA/2
Right now there is no non-hacky way to modify the query executed when the user hits the 'refresh' button. You either have to remove a class from the refresh button so the standard code path is not executed, or you have to make your own refresh button. We would like a way to say "when the refresh action is called (via button click or otherwise), execute this function (or pass this data along with the standard execution).
We have implemented custom 'search' functionality for Kendo grids, which uses column filtering 'behind the scenes'. Without a hacky workaround, we are having a problem where modifying the filters list behind the scenes will trigger the filter indicator on the columns. It would be great if there was some kind of 'silent' filtering that we could add for this instead of having to write a completely custom query for searching.