TAB navigation does not work properly with Grid TimePickerCell. The timepicker cell gets the focus only for a moment, and the grid immediately sets the focus to the next cell.
public Form1()
{
radGridView1.Columns.Add(new GridViewDateTimeColumn());
radGridView1.EditorRequired += new EditorRequiredEventHandler(radGridView1_EditorRequired);
}
void radGridView1_EditorRequired(object sender, EditorRequiredEventArgs e)
{
e.Editor = new GridTimePickerEditor();
}
Run time error occurs when setting AutoSuggestMode to Suggest only in GridViewComboBoxColumn Editor Steps to reproduce: GridViewComboBoxColumn cmb = new GridViewComboBoxColumn(); cmb.Name = "Test"; cmb.HeaderText = "Test"; cmb.DataSource = dt; cmb.ValueMember = "Id"; cmb.DisplayMember = "Name"; cmb.FieldName = "Test"; cmb.Width = 100; radGridView1.Columns.Add(cmb); radGridView1.Columns["Test"].ReadOnly = false; radGridView1.Columns["Test"].IsVisible = true; cmb.DropDownStyle = RadDropDownStyle.DropDown; cmb.AutoCompleteMode = AutoCompleteMode.Suggest;
Workaround: Use a custom editor and override IsModified method:
class MyEditor : RadDropDownListEditor
{
public override bool IsModified
{
get
{
return true;
}
}
}
void radGridViewFilter_EditorRequired(object sender, EditorRequiredEventArgs e)
{
if (e.EditorType == typeof(RadDropDownListEditor)) { e.Editor = new MyEditor();
}
}
The GridTimePickerEditor format is not correctly taken from the GridDateTimeColumn FormatString property. Workaround: Use the Format and CustomFormat properties.
There should be a convenient and more straightforward API for accessing the TableElement of a child gridview. Currently, the API is:
void radGridView1_ViewCellFormatting(object sender, CellFormattingEventArgs e)
{
if (e.CellElement is GridDetailViewCellElement)
{
((GridDetailViewCellElement)e.CellElement).ChildTableElement.RowHeight = 50;
}
}
Let's have a RadGridView that is RightToLeft.Yes with at least three columns. In the CellFormatting event set RightToLeft.No to the CellElements that belong to the middle column. Now start dragging the last column (first in RightToLeft.Yes) so that it becomes bigger and its size goes beyond what RadGridView gives as available estate area. You will notice that the CellElements that are RightToLeft.No go in the opposite direction.
Resolution: Currently, the correct way to achieve a grid with RightToLeft.Yes while some of its cells are RightToLeft.No is to use a custom column with custom cells:
public class MyGridViewDecimalColumn : GridViewDecimalColumn
{
public MyGridViewDecimalColumn()
: base()
{
}
public MyGridViewDecimalColumn(string fieldName)
: base(fieldName)
{
}
public MyGridViewDecimalColumn(string fieldName, string uniqueName)
: base(uniqueName, fieldName)
{
}
public override Type GetCellType(GridViewRowInfo row)
{
if (row is GridViewDataRowInfo)
{
return typeof(MyGridDecimalCellElement);
}
return base.GetCellType(row);
}
}
public class MyGridDecimalCellElement : GridDataCellElement
{
public MyGridDecimalCellElement(GridViewColumn col, GridRowElement row)
: base(col, row)
{
}
protected override Type ThemeEffectiveType
{
get
{
return typeof(GridDataCellElement);
}
}
protected override Telerik.WinControls.Primitives.TextParams CreateTextParams()
{
Telerik.WinControls.Primitives.TextParams parameters = base.CreateTextParams();
parameters.rightToLeft = false;
return parameters;
}
public override bool IsCompatible(GridViewColumn data, object context)
{
return base.IsCompatible(data, context) && data is GridViewDecimalColumn;
}
}
If your screen scaling is set to 125% the location of the editors that appear in the Composite Filter Form is not correct.
Deleting a Template in the Property Builder does work.
Let's say that we have the following scenario: the end-user clicks the checkbox editor of RadGridView. The developer might want to commit the value in the corresponding cell right after the end-user clicks the checkbox and it also might be required that the edit mode is ended. Currently, you can commit a value in the cell, but you can't end the edit mode of RadGridView.
Comment; We still don't have such property in the Templates. There should be AllowMultiColumnSorting proeprty at GridViewTemplate.
When you set the DecimalPlaces property of GridViewDecimalColumn, this setting is not reflected on the GridSpinEditor
When a user enters some data in a cell, then clicks in an empty part of RadGridView and finally clicks a button that calls the Update on the table adapter, no changes are committed to the DB. However, this case should be covered and there should be changes in the DataSet
If the DPI setting of the screen is 120, the layout of the Conditional formatting form is broken. One can't see the buttons to apply his/her preferences.
Vertical scrolling in HtmlViewDefinition is wrong when the RowSpacing property set to value greater that zero The same issue occurs in ColumnsGroupViewDefinition (See Ticket ID: 410535)
When you are using drop down list in RadGridView in suggest-append mode, you should be allowed to add non-existing item to the data source.
While RadGridView is resized, the active combobox editor is placed in columns that are not current.
FIX. When you reorder columns in RadGridView, the visual indicator is position out side of the grid, if the column is intersected with control's width.
Exception is thrown when a property of data bound record is changed and filtering is applied
Copy of cells from second level in hierarchy does not work.
NullReferenceException when the Text property of RadDropDownListEditor is initialized with null value in the CellEditorInitialized event.