Enable drag-and-drop between cells
I would like to see the RadGrid control have support for a global header and footer template row for the entire grid. The header or footer would be rendered within a row inserted at the top or bottom of the grid, with styling consistent with the grid's skin. It would actually be very similiar to CommandItemTemplate, but could be used with the default command rows and would apply to the very top and bottom of the grid, and not be part of the MasterTableView. It would simply be to anchor something to the top or bottom of the grid with a consistent look, feel, and width of the rest of the grid. <TELERIK:RadGrid Runat="server"> <HeaderTemplate> Whatever I want to put here would be placed in it's own row at the very top of the grid and it would be automatically styled consistent with the Grid's skin. I could put controls in here and they would bubble through the grid (and it's AJAX functionality, if anything is enabled). </HeaderTemplate> <MasterTableView ... /> <FooterTemplate> Same here, except it goes at the bottom of the grid. </FooterTemplate> </TELERIK:RadGrid> In the example image I attached, the bottom row with "Primary Service Completed" is not actually part of the grid, but we used some CSS to make it look like it was... but that particular CSS is fragile if we ever changed the global skin on the site or for the Grid in particular. That is what I might want to put in the FooterTemplate.
Hi Team Telerik, i found a bug in RadGrid. This one only appears in Chrome Webbrowser. Columnresizing only works once per column in chrome. You can see it right the way in your demo-site. Go to the Resizing Demopart and resize one column. Now try to re-resize it. It wont work. Best wishes Philipp
It would be great if you could set a property on a column (like in WinForms) to hide that column from the column chooser. e.g. <telerik:GridBoundColumn ShowInColumnChooser="false" />
RadGrid throws a "Failed to load viewstate" exception in a specific setup with two level hierarchy and DateTimeColumns. Steps to reproduce: 1. Expand an item 2. Click on "Add new record button" in the expanded detail table view 3. Click "Cancel" 4. Click on"Add new record" this time on the master table view Code to reproduce: <telerik:RadGrid ID="rgComments" runat="server" AllowPaging="True" AutoGenerateColumns="false" DataSourceID="dsSpell"> <MasterTableView Width="100%" CommandItemDisplay="Top" DataKeyNames="OrderID"> <DetailTables> <telerik:GridTableView DataKeyNames="OrderID" DataSourceID="dsComment" Width="100%" runat="server" CommandItemDisplay="Top"> <ParentTableRelation> <telerik:GridRelationFields DetailKeyField="OrderID" MasterKeyField="OrderID"></telerik:GridRelationFields> </ParentTableRelation> <Columns> <telerik:GridDateTimeColumn DataField="OrderDate" PickerType="DateTimePicker"> </telerik:GridDateTimeColumn> </Columns> </telerik:GridTableView> </DetailTables> <Columns> <telerik:GridDateTimeColumn DataField="OrderID" /> </Columns> </MasterTableView> </telerik:RadGrid> <br /> <asp:SqlDataSource runat="server" ID="dsComment" ConnectionString="<%$ ConnectionStrings:NorthwindConnectionString %>" SelectCommand="SELECT [OrderID], [OrderDate] FROM [Orders]"></asp:SqlDataSource> <asp:SqlDataSource runat="server" ID="dsSpell" ConnectionString="<%$ ConnectionStrings:NorthwindConnectionString %>" SelectCommand="SELECT [OrderID], [OrderDate] FROM [Orders]"></asp:SqlDataSource>
You can use the following temporary workaround in order to avoid the problem: 1. Attach OnGridCreated event handler: ... <ClientSettings> <ClientEvents OnGridCreated="onGridCreated" /> </ClientSettings> ... 2. In the event handler configure the group header according to the number of visible columns in the grid: function onGridCreated(sender, args) { if ($telerik.isIE7) { var visibleCount = sender.get_masterTableView()._getVisibleColumnsCount(); $telerik.$(".rgGroupHeader .rgGroupCol + td", sender.get_element()).attr("colspan", visibleCount); } }