- Allow easy replacement of Conditional Formatting form - Localization of the form does not cover the Sort Alphabetically check box - Allow formatting of the items in columns drop down in Conditional Formatting Form
When RadGridView performs exporting to excel, the values that have white-spaces at the beginning or at the end are trimmed.
The events are fired in the following order: UserAddingRow, EditorRequired, UserAddedRow eventfired when the new is pinned at the bottom and TAB key is processed.
Workaround:
public class FixGridNewRowBehavior : GridNewRowBehavior
{
protected override bool ProcessTabKey(System.Windows.Forms.KeyEventArgs keys)
{
bool isInEditMode = this.EditorManager.IsInEditMode;
if (isInEditMode)
{
IGridNavigator navigator = GridViewElement.Navigator;
bool isLeftNavigation = navigator.IsFirstColumn(GridViewElement.CurrentColumn) && keys.Shift;
bool isRightNavigation = navigator.IsLastColumn(GridViewElement.CurrentColumn) && !keys.Shift;
if (isLeftNavigation || isRightNavigation)
{
this.GridViewElement.EndEdit();
}
if (isLeftNavigation)
{
navigator.SelectLastColumn();
}
else if (isRightNavigation)
{
navigator.SelectFirstColumn();
}
if (isLeftNavigation || isRightNavigation)
{
GridViewElement.BeginEdit();
return true;
}
}
return base.ProcessTabKey(keys);
}
}
BaseGridBehavior gridBehavior = this.radGridView1.GridBehavior as BaseGridBehavior;
gridBehavior.UnregisterBehavior(typeof(GridViewNewRowInfo));
gridBehavior.RegisterBehavior(typeof(GridViewNewRowInfo), new FixGridNewRowBehavior());
Self-reference expander cell is reused inappropriately when horizontal scrolling is performed.
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);
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.
Workaround: use the CellEndEdit event to work around the navigation issue:
private void CellEndEdit(object sender, GridViewCellEventArgs e)
{
this.grid.CurrentRow = null;
this.grid.CurrentRow = e.Row;
}
The Active editor is not focused when the CellValidating event is canceled and navigation is performed.
The editor does not remain focused when cell has invalid value and mouse down button is pressed over another cell.
Scroll bar calculations are wrong, when rows are hidden in CellClick event.
DisableHTMLRendering property of the column does not effect the items in ColumnChooser.
Clearing all rows does not clear the pinned rows collection in RadGridView.
The GridViewNewRowInfo is in modified state when the DefaultValuesNeeded event is used. This causes the UserAddingRow event to be fired.
Workaround:
void radGridView1_DefaultValuesNeeded(object sender, GridViewRowEventArgs e)
{
e.Row.Cells["SearchType"].Value = "BI";
FieldInfo fieldInfo = typeof(GridViewRowInfo).GetField("state", BindingFlags.NonPublic | BindingFlags.Instance);
BitVector32 state = (BitVector32)fieldInfo.GetValue(e.Row);
state[2] = false;
fieldInfo.SetValue(e.Row, state);
e.Row.InvalidateRow();
}
Scrolling causes RadGridView to be in invalid mode, when the editor is closed and validating fails.
RadProgressBarElement is not clipped correctly, when is used as child element of custom cell element in RadGridView.
Improve localization of invalid parameter messages and Item text in Conditional Formatting Form of RadGridView.
A child row does not appear in the view by using following code snippet:
GridViewRowInfo^ pNewRow = pTemplate->Rows->AddNew();
pNewRow->Cells["ChildNameColumn"]->Value = this->ChildTextBox->Text;
int count = radGridView1->ChildRows->Count;
pNewRow->Cells["ChildAddressColumn"]->Value = count.ToString()
Workaround: add new rows in the following manner:
private: System::Void button2_Click(System::Object^ sender, System::EventArgs^ e)
{
// add child row
GridViewTemplate^ pTemplate = radGridView1->MasterTemplate->Templates[0];
GridViewRowInfo^ pNewRow = pTemplate->Rows->NewRow();
pNewRow->Cells["ChildNameColumn"]->Value = this->ChildTextBox->Text;
int count = radGridView1->ChildRows->Count;
pNewRow->Cells["ChildAddressColumn"]->Value = count.ToString();
pTemplate->Rows->Add(pNewRow);
}
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();
}
}
The RadGridView throws unhandled exception, when you try to close the custom filtering form twice for invalid filter descriptor.
The alternating row color in RadGridView does not work when the control is in unbound mode and LoadFrom method is used. Resolution: The issue is duplicated with feedback item FIX. RadGridView - AlternatingRowColor does not work when data is loaded in the RadGridView from a IDataReader Here is the link to item: http://feedback.telerik.com/Project/154/Feedback/Details/112656-fix-radgridview-alternatingrowcolor-does-not-work-when-data-is-loaded-in-the-r