### Bug report
When reordering expanded rows, the "rowReorder" event does not return a correct "oldIndex".
### Reproduction of the problem
1. Create a hierarchical grid and enable the reorderable.rows property;
2. Expand all rows;
3. Handle the "rowReorder" event and log the event data in the browser console;
4. Move the second row above the first row. The property "oldIndex" returns a wrong value. It should be "1".
A Dojo sample for reproduction: https://dojo.telerik.com/AJIGuBEh
### Expected/desired behavior
The "rowReorder" event of the grid should return the correct indexes of the moved row.
### Environment
* **Kendo UI version: 2022.1.301
* **jQuery version: 1.12.4
* **Browser: [all]
Hello,
A couple feature requests...
Clear the built in search box value.
clearSearch - clears the search box
e.g.,
var grid = $("#grid").data("kendoGrid");
grid.clearSearch();
Customize validation text via schema model fields validation.
e.g.,
var grid = $("#grid").data("kendoGrid");
const dataSource = new (<any>self).kendo.data.DataSource({
data: models,
schema: {
model: {
id: "id",
fields: {
id: { editable: false, nullable: true },
modelName: { validation: { required: true, messages: {required: "Model name is a required field"} } },...
Hi Team,
I'd like to request the functionality to change the format of a Kendo UI Grid column without needing to call the setOptions method. This would be nice to avoid additional Read calls.
Thank you!
Currently if the grid has its selection mode set to a "single" row, the user ca select one row on each page. The "single" row selection should be global, not page specific.
Reported in ticket 1550865
Run the following example:
https://dojo.telerik.com/@gdenchev/aToMonEy
Select a row on the first page. Go to the second page and select another row. Go back to the first page. The row is still selected, even though we selected a different row on page 2.
Currently the user can select one row on each page.
If a row is selected, all other rows across all pages, should be deselected.
A workaround is provided in the following Dojo example:
https://dojo.telerik.com/@PMcDonou/oWOyIpAg
The current version of Kendo UI no longer allows you to align column headings as described in the demo https://demos.telerik.com/kendo-ui/grid/cell-alignment
It occurs because a nested tag (k-link) is set as display: flex;
You can see an example of it on your own demo site (link above) - Ship City header should be centered but isn't.
{
field: "ShipCity",
title: "Ship City",
headerAttributes: { style: "text-align: center" },
attributes: { style: "text-align: right" }
}
Hi Team,
I would like to request adding RowVersion support to the Kendo UI Grid. Currently, I am using a workaround of setting it during the save event, but you guys really need to fix that.
Thanks!
Hi Team,
I'd like to request the functionality to include event handlers and/or functions with the kendo.Stringify() method. I understand event handlers are not included in JSON.stringify, but I would like to ask for future implementation from Kendo to be able to include them.
Thank you!
Hi Team,
I'd like to request the functionality to include the input value within a Kendo UI Grid's search panel within the getOptions method. This would allow for the search panel's input to be populated with the loaded state.
Thank you!
Hi Team,
I would like to request your consideration to add support for date fields to be filtered via the Kendo UI Grid's search panel when utilizing server operations. I understand currently this is a limitation but would like this to be incorporated in future releases.
Thank you!
Hi Team,
This may be more of a bug, but kendo grid's copySelectionToClipboard and exportSelectedToExcel doesn't work with multi column headers. Unfortunatley for us, our grid completely configured with muktiple multi-column headers. Please look into this.
Thanks,
Indu
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; }
Hi team,
To reproduce that, go to https://demos.telerik.com/kendo-ui/grid/persist-state
- first, inspect the TH element of the "Contact Name" column, no headers attribute. (screenshot 1)
- then click on "Save State" button and click on "Load State" button.
- now, inspect again the TH element and you will find the attribute "headers"="undefined", on each column actually. (screenshot 2)
Not a big deal but this makes an entry (serious) with the Axe plugin accessibility checker.
Please advise and propose a workaround if any.
Best regards,
Laurent.
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.
Hi Team,
I'd like to request to include the field's column title into the column.groupHeaderTemplate.
Thank you!
Hi Team,
I would like to request to be able to utilize a Kendo UI Template to modify the formatting and content of the Kendo UI Grid's content during PDF Export. This would help gain access the grid data within the template so that I can "overwrite" the exported content's display template.
For example, the grid data could be extracted within the template. In this case, the template could utilize a Bootstrap table with some CSS classes in which it could be exported as a PDF file.
This would allow me to have better control over the content size (margin, padding, etc.) since it would be a HTML template for the exported data.
Thank you!
Hi Team,
I would like to request the Kendo UI Grid's column.headerTemplate to contain args associated with the specific column for easier access to the column properties.
Thank you!
Hi Team,
I would like to request the functionality to group data in a Kendo UI Grid but show only distinct records based on certain fields.
Thank you!