RadGridView should support indexed full-text search out of the box.
A few threads have been posted over the years to ask about natural sorting, which is clicking a column header to go Ascending, Descending, then back to the default unsorted mode on the third click. I looked around for a tri-state or three-state toggle and didn't find any info. Very helpful but incomplete info is found here and here, so I thought I'd provide C# code to help anyone else looking to do this. Some threads refer to MasterGridViewTemplate.AllowNaturalSort but that property no longer exists. My code is adapted from the second forum posting referenced. It looks like the library has changed since Sean wrote his code. Telerik.WinControls.Data.SortDescriptor.Direction is of type System.ComponentModel.ListDirection, and that enum only has two values. So the Boolean _sorted is used - if the grid is sorted in ascending or descending order, then use the sort order, but if we click past descending order, set _sorted to false (natural sort!) and clear the SortDescriptors. Of course clearing SortDescriptors means this only works with single column sorting. Maybe someone will follow-up here with a solution that works with multiple columns.
i use a radgridview whits does not allow edit. i press control-v at a cell and it pastes to the cellvalue the last copied to clipboard text. is there a way to do that only if the grid allows edit?
NullReferenceException is thrown, when the following steps are performed: 1. Scroll horizontally 2. Move a column by mouse drag and drop. 3. Start writing in the filter cell of the moved column 4. Suddenly the editor is closed. 5. When you try to write in the filter cell again, exception is thrown. Work around: void radGridView1_EditorRequired(object sender, Telerik.WinControls.UI.EditorRequiredEventArgs e) { if (e.EditorType == typeof(RadTextBoxEditor)) { e.Editor = new RadTextBoxEditor(); } }
Improve localization of invalid parameter messages and Item text in Conditional Formatting Form of RadGridView.
RadProgressBarElement is not clipped correctly, when is used as child element of custom cell element in RadGridView.
Scrolling causes RadGridView to be in invalid mode, when the editor is closed and validating fails.
Clearing all rows does not clear the pinned rows collection in RadGridView.
DisableHTMLRendering property of the column does not effect the items in ColumnChooser.
Scroll bar calculations are wrong, when rows are hidden in CellClick event.
The editor does not remain focused when cell has invalid value and mouse down button is pressed over another cell.
Self-referencing hierarchy does not occur, if you bind the grid inside BeginUpdate-EndUpdate method invocation.
The active text box editor overlaps the bottom cell border, when RadGridView uses Windows 7 Theme.
The Active editor is not focused when the CellValidating event is canceled and navigation is performed.
The cell navigation is wrong when the grid is ungrouped. Steps to reproduce: 1. Enable cell selection mode 2. Navigate with keyboard 3. Group the RadGridView by one column 4. Navigate with keyboard 5. Ungroup the RadGridView's rows 6. Now Keyboard navigation is wrong. Same behavior appears with the default selection mode: - Group the grid and select a row in a group - Ungroup and use the keyboard to navigate between the rows => it navigates only the rows that were in the group where we have selected a row WORKAROUND: private void radGridView1_GroupByChanged(object sender, Telerik.WinControls.UI.GridViewCollectionChangedEventArgs e) { GridViewRowInfo row = this.radGridView1.CurrentRow; this.radGridView1.CurrentRow = null; this.radGridView1.CurrentRow = row; }
Custom filtering does not work when self-referencing hierarchy used in RadGridView. Work around: GridView.EnableFiltering = !GridView.EnableFiltering; GridView.EnableFiltering = !GridView.EnableFiltering;
The hover visual style is applied on non hovered cell in Windows 7 Theme. 1. You should select a cell. 2. You should scroll the RadGridView with mouse wheel 3. You should hover the cell above the selected one. 4. You should select the cell below the current one. 5. You should scroll with mouse wheel. 6. After hovering the cells under the current cell several times, one of them will have gray background.
Each time when the GridViewMaskeBoxColumn's cells leave edit mode, their values is decreased if percentage mask is used. GridViewMaskBoxColumn maskBoxColumn = new GridViewMaskBoxColumn("Amount", "Amount"); maskBoxColumn.Mask = "P"; maskBoxColumn.MaskType = MaskType.Numeric; maskBoxColumn.FormatString = "{0:0.00%;0.00%;none}"; this.radGridView1.Columns.Insert(2, maskBoxColumn);
If you perform grouping by column and then apply best fit algorithm, it does not obey the data cells if the group rows are not expanded.
Exception is thrown when keyboard navigation is used and RadGridView is grouped. Steps to reproduce: 1. Apply Office 2010 Silver theme to RadGridView. 2. Group the grid by two columns 3. Set AutoSizeRows to true. 3. Edit a decimal column 4. Navigate at right column 5. Exception is thrown.