Hello Telerik team,
I have a PivotGrid v2 in my Home/Index view, and I would like to achieve the following behavior:
I want users to be able to drag the available fields into the Rows or Columns sections — just like in the classic Kendo UI PivotGrid, where fields remain selectable and can be freely dragged to the desired area (rows or columns).
Currently, the PivotGrid v2 does not seem to allow this kind of flexible drag-and-drop interaction.
Could you please let me know if there is a configuration or example that enables this behavior?
Attached is an example project, where dragging is not allowed.
Thank you very much for your help and guidance.
Best regards,
Pablo
Dear Telerik Support Team,
We are currently using the Telerik framework extensively in one of our projects — including grids, controls, calendars, and other components. Our experience so far has been excellent, and our goal is to fully adopt Telerik across our entire solution.
The only component we have not yet been able to fully migrate is the PivotGrid. We are currently using the DevExpress PivotGrid, but we would like to switch to Kendo PivotGrid, as we consider it to be a very powerful and modern development tool within your ecosystem.
However, during the migration process, we noticed a visual behavior that is not exactly an inconsistency but something we would appreciate your guidance on:
When building a PivotGrid with Telerik (using Kendo().PivotGrid() and an AJAX DataSource, not XMLA), the row field names are displayed inside an additional column. This layout increases the overall width and creates unused blank space.
In contrast, DevExpress displays the row field names above the related data block as a header, which helps make better use of the available space (please see attached images telerik.png and devexpress.png for reference).
We would like to know if there is a recommended way, configuration, or possible workaround to achieve a similar layout in Telerik’s PivotGrid, or if such a feature is being considered in the product roadmap.
Another property is showTotals in order to don´t show totals.
Thank you in advance for your assistance. We look forward to your response.
In many applications we use passwords. Would love to have a field that allows for the setting of a type to "password" without templates.
.PasswordTextField() or something similar.
**Added by Admin**
If I pass in the model, the fields should get affected by the `DataType(Datatype.Password)` data annotation attribute.
Hi Team,
I would like to request to add Building Blocks and Page Templates for UI for ASP.NET MVC/Core.
Thank you!
// retrieve the Editor widget object
var editor = $("#editor").data("kendoEditor");
// attach a click handler on the tool button, which opens the ImageBrowser dialog
editor.toolbar.element.find(".k-i-image").parent().click(function () {
// a setTimeout is required, otherwise the ImageBrowser widget will still not be initialized
setTimeout(function () {
// retrieve the ImageBrowser widget object
var imageBrowser = $(".k-imagebrowser").data("kendoImageBrowser");
console.log(imageBrowser);
// retrieve the ListView widget object
var listView = imageBrowser.listView;
console.log(listView);
// order the image list by directory first and then by file name
listView.dataSource.sort({
field: "type", dir: "asc", compare: function (a, b) {
if (a.type!=b.type) {
return (a.type > b.type) ? 1 : -1;
}
else {
return a.name === b.name ? 0 : (a.name > b.name) ? 1 : -1;
}
}
});
});Hi Team,
I would like to request the UI for ASP.NET MVC Editor's ImageBrowser include a schema similar to the Kendo UI for jQuery version to describe the raw data format. This would additionally help the transition from the JavaScript version to the MVC version.
Thank you!
Is it possible to implement a MaxLength() option in the Filterable(f => f.Cell()) configuration that will set the maxlength attribute to the Filter row element in order to limit the length of the string that the user can enter into the Filter row input?
For example:
@(Html.Kendo().Grid(Model)
.Name("grid")
.Columns(columns =>
{
columns.Bound(x => x.Name).Filterable(ftb => ftb.Cell(c => c.MaxLength(5)));
})
...
)
Hi Team,
I would like to request a way to bind a Kendo UI Template to a UI for ASP.NET MVC CheckBox HtmlHelper. At the moment, it only accepts a boolean, so a string template will not work as expected.
Thank you!
### Enhancement
Add a template property to the Dialog actions that allow inserting HTML into the button's text.
Right now, the following snippet will produce an HTML encoded value:
$("#dialog").kendoDialog({
...
actions: [{
text: "<span>OK</span>"
}]
});
### Expected Result
The expected result of this enhancement is to enable the developers to add the HTML into the action buttons text.
Is it possible to create a template option for the ProgressBar value? It can be used when the ProgressBar value must be formatted based on the current culture (for example, when the number groups must be separated by space rather than comma (",")).
$("#progressbar").kendoProgressBar({
min: 10,
max: 20,
value: 15,
template: "#:kendo.toString(kendo.parseFloat(data.value), 'n2', 'fr-FR')#"
});
There is a Kendo Validation in addition to ASP.net MVC one.
There is a need for a method or script to disable the Kendo Validation and enforce the code to follow rules we define in the model.
Currently we have to write validation bypass script for each field, but I am looking for a way to disable Kendo Validations for the entire project or/and for specific page and it follows validation rules from the MVC model.
In most cases, validations from the MVC are sufficient and there is no need for redundance validations from the telerik.
My understanding after talking to support is that a grid with a popup editor has code behind the scenes that stops adverse scrolling behavior when the popup window closes. However, under certain circumstances, this doesn't work if you have a grid nested in your popup editor that also has a popup editor. As it was described to me, this "behavior is not directly related to the Grid, but the Kendo Window. Generally, it provides the preventScroll property, but I am afraid this scenario is more complex due to the window being internally embedded into the Grid".
The exact scenario I found was that if you shrink you browser window small enough that you need to use some scrolling, scroll down your grid a little, then do something to cause the popup editor to open. Scroll down again to get to your nested grid, open that popup editor, then close it. The browser then auto scrolls to the top.
I was given this code to fix the issue (and it DOES fix it):
<script>
kendo.ui.Grid.fn._destroyEditableOrg = kendo.ui.Grid.fn._destroyEditable;
kendo.ui.Grid.fn._destroyEditable = function () {
var that = this;
if (that._editContainer) {
var kw = that._editContainer.data().kendoWindow;
kw.setOptions({
modal: false
});
}
that._destroyEditableOrg();
};
</script>The problem is that these fields aren't documented... I would never have figured this out on my own. So my feature request is that either this behavior is fixed or these properties exposed from the Grid settings.
-Steven
PS: For Telerik, the original ticket was 1589389.