Currently, due to the specificity of the internal implementation for this scrolling behavior, the possible solution that I can suggest is to hide the row header by setting the ShowRowHeaderColumn property to false.
this.radGridView1.ShowRowHeaderColumn = false;
Hi Telerik Teams,
I have a problem，When I filter data in gridview, a RadForm appears. But there are problems with the margins of its 2 buttons. How can I deal with it?
GridView is not correctly drawn if it's not populated and the theme is set to "TelerikMetro" or "TelerikMetroBlue" (the bottom line is missing).
Steps to reproduce the behavior: create a RadForm, add a RadGridView to it and set the theme to "TelerikMetro" or "TelerikMetroBlue" by using ThemeResolutionService.ApplicationThemeName.
Please refer to 2 attached files...
The 'April 2020' file is correct - The yellow color is shown upon setting a filter (Release 2020.1.113.40)
The 'June 2020' file is incorrect - No color is shown indicating filter is set. (Release 2020.2.512.40)
The code sets FilterDescriptor on the 'A PARTY' column.
There is change in the icon of the filter as well :(
1. Expand a parent row in hierarchical grid.
2. Click on the second tab
3. If the child grid doesn't have any rows, the CurrentViewChanged event will not fire.
001.png: On the GridViewComboBoxColumn how do I prevent the drop down from covering the input cell when grid is at the bottom of the screen's viewable area?
I've tried setting the position and location under the CellEditorInitialized event, but had no luck.
private void RadGridARCashReceipt_CellEditorInitialized(object sender, GridViewCellEventArgs e)
I have a question regarding RadGridView. When I edit a cell in GridView and then click on a button (outside of gridview) immediately (i.e I don't click on another cell to exit edit mode), the Gridview is still edit mode. Please refer to the short video named "Without Using EndEdit()" to easily understand my point here.
In order to exit the edit mode, I try the following code:
Private Sub CustomGridView_LostFocus(sender As Object, e As EventArgs) Handles Me.LostFocus Me.EndEdit() End Sub
With this code, the gridview does exit the edit mode when I click on another button. But there is a problem with this method is that afterwards, I cannot edit the cell anymore. Please refer to the short video named "Using EndEdit()" to better understand the problem.
So my question here is, is there any way that I can exit edit mode when clicking on another button right after editing a cell?
Thank you for your help.
Please refer to the attached sample project.
If the main Cars list is not empty, the child templates have correct captions:
However, if initially there are no Cars and you add a new one via the new row, the captions of the child template remains with the default value ("table"):
Currently, when you update the value of the checkbox cell (toggle/untoggle), Narrator reads the value only the first time after selecting the cell. Each next checking/unchecking does nothing.
It is expected from the Narrator to read the value of the RadCheckBoxEditor when it is being activated after entering edit mode. It the column uses EditMode.OnValueChange, the value changes also should be read by the Narrator.
We are experiencing a strange behaviour of RadGridView set as a self referencing hierarchy when used with Excel filters.
Once we use predefined filter values (both, build-in and custom defined by us) the filter icon is highlitghted when none of the filter is marked. This higlight can be removed when clear filters button of filter popup is used or FilterDescriptors are cleared. If we do not clear the filters manually, and, for instance, sort grid column the application crashes with internal error of the grid. Error reads Object reference not set to an instance of object.
Attached movie will explain it better. I have also attached a ver simple sample project with data (which does not make sense, just for visualisation) that should fail when you repeat steps described above (turn today or last 7 days filter, apply, select no filter, apply and try to sort the same column).
Is there a workaround or specific conditions we need to apply to have it working?
Thanks for your advice.
I'm also attaching errors details:
Steps to reproduce:
When the grid is loaded and displayed, a NullReferenceException will be thrown:
Message : Object reference not set to an instance of an object. Type : System.NullReferenceException Source : Telerik.WinControls.GridView Stack trace : Telerik.WinControls.UI.BestFitHelper.SetColumnWidth(GridViewColumn column, Single desiredWidth) Telerik.WinControls.UI.BestFitHelper.BestFitColumnCore(GridViewColumn column, BestFitColumnMode mode) Telerik.WinControls.UI.BestFitHelper.ProcessRequests() Telerik.WinControls.UI.RowsContainerElement.MeasureOverride(SizeF availableSize) Telerik.WinControls.RadElement.MeasureCore(SizeF availableSize) Telerik.WinControls.RadElement.Measure(SizeF availableSize) Telerik.WinControls.UI.ScrollViewElement`1.MeasureViewElement(SizeF availableSize) Telerik.WinControls.UI.ScrollViewElement`1.MeasureView(SizeF availableSize) Telerik.WinControls.UI.ScrollViewElement`1.MeasureOverride(SizeF availableSize) Telerik.WinControls.UI.GridTableElement.MeasureOverride(SizeF availableSize) Telerik.WinControls.RadElement.MeasureCore(SizeF availableSize) Telerik.WinControls.RadElement.Measure(SizeF availableSize) Telerik.WinControls.Layouts.DockLayoutPanel.MeasureOverride(SizeF constraint) Telerik.WinControls.RadElement.MeasureCore(SizeF availableSize) Telerik.WinControls.RadElement.Measure(SizeF availableSize) Telerik.WinControls.UI.LightVisualElement.MeasureElements(SizeF availableSize, SizeF clientSize, Padding borderThickness) Telerik.WinControls.UI.LightVisualElement.MeasureOverride(SizeF availableSize) Telerik.WinControls.RadElement.MeasureCore(SizeF availableSize) Telerik.WinControls.RadElement.Measure(SizeF availableSize) Telerik.WinControls.RootRadElement.MeasureOverride(SizeF availableSize) Telerik.WinControls.RootRadElement.MeasureCore(SizeF availableSize) Telerik.WinControls.RadElement.Measure(SizeF availableSize) Telerik.WinControls.RadElementTree.PerformInnerLayout(Boolean performMeasure, Int32 x, Int32 y, Int32 width, Int32 height) Telerik.WinControls.RadControl.OnLoad(Size desiredSize) Telerik.WinControls.UI.RadGridView.OnLoad(Size desiredSize) Telerik.WinControls.RadControl.LoadElementTree(Size desiredSize) Telerik.WinControls.RadControl.OnCreateControl() System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) System.Windows.Forms.Control.CreateControl() System.Windows.Forms.Control.SetVisibleCore(Boolean value) Telerik.WinControls.UI.TabPanel.set_Visible(Boolean value) Telerik.WinControls.UI.TabStripPanel.SetSelected(TabPanel tabPanel) Telerik.WinControls.UI.TabStripPanel.UpdateTabSelection(Boolean updateFocus) Telerik.WinControls.UI.Docking.DockTabStrip.UpdateTabSelection(Boolean updateFocus) Telerik.WinControls.UI.Docking.ToolTabStrip.UpdateTabSelection(Boolean updateFocus) Telerik.WinControls.UI.TabStripPanel.OnHandleCreated(EventArgs e) System.Windows.Forms.Control.WmCreate(Message& m) System.Windows.Forms.Control.WndProc(Message& m) System.Windows.Forms.ScrollableControl.WndProc(Message& m) Telerik.WinControls.RadControl.WndProc(Message& m) Telerik.WinControls.UI.SplitPanel.WndProc(Message& m) System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Please find attached sample project having 2 different reference folder(Telerik2018,Telerik2020) for Telerik.
Code flow & Issue description: I have Event "radGridView1_EditorRequired" in which i have attached another event on value changed "Editor_ValueChanged" in which we get data gron DropdownListElement using ((RadDropDownListElement)(sender)).SelectedValue.
Issue is when we use version (2018.3.1016.40) we get selected value text, in case of current version (2020.1.218.40) we get null value.
Current version DLL 2020.1.218.40 (Issue in current version)
Previous version DLL 2018.3.1016.40 (Working fine)
Note : I have also attached both version of Telerik DLL in sample project, you can reproduce issue by referencing to 2020.1.218.40 version. After selecting values as shown in attached screenshot you will get null value as shown in another screenshot.
Please find attached screenshot for selecting values to reproduce issue as well where we get null value.
Thanks and Regards
I have a radGridView with MutliSelect set to true and SelectionMode set to FullRowSelect. A theme is applied, and this behavior is seen with other themes too. Several columns are pinned to the left.
When I multi-select rows using the shift or control buttons by clicking one of the cells under the frozen columns, the row is selected and colored accordingly, except for the cell that was actually clicked which remains with the unselected color.
If I multi-select by clicking on one of the cells under an unpinned column, the full row is selected as expected.
In the image below, I held down shift and selected the first and third row in sequence under the Officer column.
How can I fix this to show the complete row selected?
To reproduce: please refer to the attached gif file. Apply a conditional formatting rule for the current time's minute. Then, after a minute later, try to edit the already applied rule and change the minute value, you will notice that the color is cleared, but the new one is not applied. Workaround: use the CellFormatting event https://docs.telerik.com/devtools/winforms/gridview/cells/formatting-cells