Completed
Last Updated: 12 Jun 2014 06:57 by Jesse Dyck
ADMIN
Created by: Nikolay
Comments: 2
Category: GridView
Type: Bug Report
11
RadGridView should support indexed full-text search out of the box.
Completed
Last Updated: 12 Jun 2014 06:06 by ADMIN
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.
Completed
Last Updated: 05 Jun 2014 16:33 by ADMIN
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?
Completed
Last Updated: 05 Jun 2014 07:08 by Svetlin
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();
    }
}
Completed
Last Updated: 05 Jun 2014 07:08 by Svetlin
Improve localization of invalid parameter messages and Item text in Conditional Formatting Form of RadGridView.
Completed
Last Updated: 05 Jun 2014 07:08 by Svetlin
RadProgressBarElement is not clipped correctly, when is used as child element of custom cell element in RadGridView.
Completed
Last Updated: 05 Jun 2014 07:08 by Svetlin
Scrolling causes RadGridView to be in invalid mode, when the editor is closed and validating fails.
Completed
Last Updated: 05 Jun 2014 07:08 by Svetlin
Clearing all rows does not clear the pinned rows collection in RadGridView.
Completed
Last Updated: 05 Jun 2014 07:08 by Svetlin
DisableHTMLRendering property of the column does not effect the items in ColumnChooser.
Completed
Last Updated: 05 Jun 2014 07:08 by Svetlin
Scroll bar calculations are wrong, when rows are hidden in CellClick event.
Completed
Last Updated: 05 Jun 2014 07:08 by Svetlin
The editor does not remain focused when cell has invalid value and mouse down button is pressed over another cell.
Completed
Last Updated: 05 Jun 2014 07:08 by Svetlin
Self-referencing hierarchy does not occur, if you bind the grid inside BeginUpdate-EndUpdate method invocation.
Completed
Last Updated: 05 Jun 2014 07:08 by Svetlin
The active text box editor overlaps the bottom cell border, when RadGridView uses Windows 7 Theme.
Completed
Last Updated: 05 Jun 2014 07:08 by Svetlin
The Active editor is not focused when the CellValidating event is canceled and navigation is performed.
Completed
Last Updated: 05 Jun 2014 07:08 by Svetlin
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;

}
Completed
Last Updated: 05 Jun 2014 07:08 by Jesse Dyck
Custom filtering does not work when self-referencing hierarchy used in RadGridView.

Work around:

GridView.EnableFiltering = !GridView.EnableFiltering;
GridView.EnableFiltering = !GridView.EnableFiltering;
Completed
Last Updated: 05 Jun 2014 07:08 by Svetlin
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.
Completed
Last Updated: 05 Jun 2014 07:08 by Svetlin
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);
Completed
Last Updated: 05 Jun 2014 07:08 by Svetlin
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.
Completed
Last Updated: 05 Jun 2014 07:08 by Svetlin
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.