We recently added row group functionality to our grids and we and our users are very happy with this. Only thing that bothers us is the drop functionality on the grouppanel. We have an wish to make the drop functionality of the grouppanel much more intuitive. Especially when the RadGrid is already grouped on multiple columns. Possiblity to drag a new, not grouped yet, column to the grouppanel to the position/order where you want the grouping of the grid to come up with. E.g. drag the next column between the first and the second grouping column. It is not possible to add it at a specific location. this case can be reproduced on the RadGrid Grouping demo on your site: http://demos.telerik.com/aspnet-ajax/grid/examples/functionality/grouping/grouping/defaultcs.aspx Forum reference: http://www.telerik.com/forums/grouppanel-column-drop-and-reorder#GEEn16H44Uia4_U3_o143g
When virtualization is enabled for RadGrid, NeedDataSource is called at every Post back with RebindReason = ExplicitRebind, regardless of the event target.
Steps to reproduce:
Use the following Code snippets for the runnable sample and debug the NeedDataSource event while doing post backs using other controls. For instance, you can use the RadButton1 from these snippets to make a standard Post Back.
We recently added row group functionality to our grids and we and our users are very happy with this. Only thing that bothers us is the drop functionality on the grouppanel. We have an wish to make the drop functionality of the grouppanel much more intuitive. Especially when the RadGrid is already grouped on multiple columns. The marker to indicate where the user will drop an existing grouping column is shown at the begin and the end of the group column connector between groups. Except in front of the first group column. Can the same behavior be added to the end of the last grouped column? This case can be reproduced on the RadGrid Grouping demo on your site: http://demos.telerik.com/aspnet-ajax/grid/examples/functionality/grouping/grouping/defaultcs.aspx
We recently added row group functionality to our grids and we and our users are very happy with this. Only thing that bothers us is the drop functionality on the grouppanel. We an issues to make the drop functionality of the grouppanel much more intuitive. Especially when the RadGrid is already grouped on multiple columns. The drop marker indicated the new column to group will be added in front, but the column is added to the end of the grouped columns. Forum reference: http://www.telerik.com/forums/grouppanel-column-drop-and-reorder#WLzO_nt1Pk2CZYPPIITYgA This is reproducible in the demo on your site. See also the added video.
Using CommandItemTemplate (Grid - Command Item) for Editing DetailTable records and selecting an item after filtering or from another page, one item from the first page is put for editing instead. Open the attached GIF animation (EditSelectedEditWrongItem.gif) to see it in action.
Currently the workaround we offer is to handle the EditSelected command manually for all the DetailTables Except for the Master.
Grid markup:
<telerik:RadGrid ID="RadGrid1" runat="server" AllowPaging="True" Width="100%" PageSize="3"
OnItemCommand="RadGrid1_ItemCommand"
OnDetailTableDataBind="RadGrid1_DetailTableDataBind"
OnNeedDataSource="RadGrid1_NeedDataSource">
<MasterTableView Name="MasterTable" AutoGenerateColumns="true" DataKeyNames="OrderID">
<DetailTables>
<telerik:GridTableView Name="ChildTable" DataKeyNames="OrderID" AutoGenerateColumns="true" CommandItemDisplay="Top">
<CommandItemTemplate>
<asp:LinkButton ID="btnEditSelected" runat="server" CommandName="EditSelected" CssClass="btn btn-default">Edit Selected</asp:LinkButton>
</CommandItemTemplate>
</telerik:GridTableView>
</DetailTables>
</MasterTableView>
<ClientSettings>
<Selecting AllowRowSelect="true" />
</ClientSettings>
</telerik:RadGrid>
C# - ItemCommand
protected void RadGrid1_ItemCommand(object sender, GridCommandEventArgs e)
{
// Logic applies for all the tables (detail tables) which are not named "MasterTable"
if(e.Item.OwnerTableView.Name != "MasterTable" && e.CommandName == RadGrid.EditSelectedCommandName)
{
e.Canceled = true;
GridTableView detailTable = e.Item.OwnerTableView;
if (detailTable.OwnerGrid.SelectedIndexes.Count == 0)
{
return;
}
foreach (GridDataItem selectedItem in detailTable.OwnerGrid.SelectedItems)
{
selectedItem.Edit = true;
}
detailTable.Rebind();
}
}
VB - ItemCommand
Protected Sub RadGrid1_ItemCommand(ByVal sender As Object, ByVal e As GridCommandEventArgs)
If e.Item.OwnerTableView.Name <> "MasterTable" AndAlso e.CommandName = RadGrid.EditSelectedCommandName Then
e.Canceled = True
Dim detailTable As GridTableView = e.Item.OwnerTableView
If detailTable.OwnerGrid.SelectedIndexes.Count = 0 Then
Return
End If
For Each selectedItem As GridDataItem In detailTable.OwnerGrid.SelectedItems
selectedItem.Edit = True
Next
detailTable.Rebind()
End If
End Sub
Hi,
If AJAX is enabled for the RadGrid and re-ordering its columns, a JavaScript exception is thrown: "uncaught typeerror: cannot set property 'control' of undefined"
Please could you add an option to the NextPrevNumericAndAdvanced pager mode to allow the Page Size RadTextBox to be displayed as a RadComboBox like the NextPrevAndNumeric pager. This would help us to have a more consistant look and feel between the 2 pager modes.
We are still experiencing a problem with the RadGrid and JAWS when aria support is enabled. The JAWS form fields dialog (INS+F5) renders all elements of the grid on a single line.
To replicate the problem:
Clicking on the Edit button fires the RowClick event of the Grid instead of Edit/Save/Cancel.
Unable to open "columns" sub-menu inside RadGrid's HeaderContextMenu on mobile devices. It does work on desktop PCs regardless of the OS.
Issue can be replicated starting with the version 2019 R1. Not present on previous versions (2017 and 2018 were tested)
Screenshot:
I have a Telerik RadGrid, and there is a date column on the grid layout. The date format I am using to display date values is "dd/MM/yyyy". Then, I export that grid data to Excel file with GridExcelExportFormat.Biff type. The problem here is when I open the newly exported Excel file, the date format is changed to "MM/dd/yyyy".
I want to keep displaying my date format "dd/MM/yyyy" in the Excel file after exporting the grid data.
Issue seems to happen with RadGrid with Bootstrap Skin, RenderMode Lightweight when RequireFieldValidator is enabled in combination with Batch Editing.
Unexpected look (Bootstrap skin):
Other skins seems to have it right.
Expected look (Default skin):
Expected look (Silk skin):