It is necessary to implement GetHashCode to avoid collisions when using this object in dictionaries
ADD. RadGridView - add row selection with Space in MultiSelection mode Notice: This functionality works only in multiselection and EditMode different than RadGridViewBeginEditMode.BeginEditOnKeystrokeOrF2 RadGridViewBeginEditMode.BeginEditOnKeystroke
To reproduce use the code below and try to type in "000" in a cell GridViewComboBoxColumn comboColumn = new GridViewComboBoxColumn("Phone"); radGridView1.Columns.Add(comboColumn); comboColumn.DataSource = new string[] { "0", "00", "000", "0001" }; comboColumn.Width = 200; comboColumn.DropDownStyle = RadDropDownStyle.DropDown; comboColumn.AutoCompleteMode = AutoCompleteMode.Suggest;
When the BeginUpdate and EndUpdate methods of RadGridView are used, the top summary row occurs twice when grouping is performed.
To reproduce: 1.Set the column AutoCompleteMode to suggest 2. Type a letter which does not exist in the records (if you have A, B, and C, use D) 3. Press escape 4. Type in another letter which does not exist => the exception is thrown The GridRowBehavior is trying to access the AutoCompleteAppend of the element, which is null, while we are in Suggest mode.
1. Create a new project with RadGridView and bind it. 2. Setup column groups view. 3. Change some column and set the data source again on button click. 4. Run the project
Horizontal scrolling when multiple selection is performed by mouse.
The drag and drop of rows or columns to scroll the grid if the target item is not visible.
When a user groups the grid by a certain column and then attempts to drag the column back to the header, column reorder is possible, even though the AllowColumnReorder is false.
The following strings on the print settings dialog of RadGridView cannot be localized: "Page fit mode", "Print:", "Alternating row color", "Summary cells"
When RightToLeft is enabled in RadGridView and you try to print it, the layout of the pages is messed up.
"IsContainedIn" and "IsNotContainedIn" operators currently not work properly with composite values like: "1, 2, 3"
When a RadGridView instance is initialized in the Form's constructor, the grid is not assigned a binding context. Note: This is a desired behavior.
To reproduce: public Form1() { InitializeComponent(); Random r = new Random(); DataTable table = new DataTable(); table.Columns.Add("ID", typeof(int)); table.Columns.Add("Name", typeof(string)); table.Columns.Add("Bool", typeof(bool)); table.Columns.Add("DateColumn", typeof(DateTime)); for (int i = 0; i < 10; i++) { table.Rows.Add(i, "Row " + i, r.Next(10) > 5 ? true : false, DateTime.Now.AddHours(i)); } this.radGridView1.DataSource = table; radGridView1.Columns[0].FormatString = "{0:n3}"; } MemoryStream ms = new MemoryStream(); private void radButton1_Click(object sender, EventArgs e) { // ms.SetLength(0); reset memory stream to save new layout radGridView1.SaveLayout(ms); } private void radButton2_Click(object sender, EventArgs e) { radGridView1.LoadLayout(ms); } }
To reprouduce, have a grid with multiple rows selected using the translucent rectangle and use the following code on a button click: using System; using System.Data; using System.Windows.Forms; using Telerik.WinControls.UI; namespace Lab.Grid { public partial class GridSelectionException : MainForm { private RadGridView gridView = new RadGridView(); public GridSelectionException() { InitializeComponent(); gridView.Dock = DockStyle.Fill; gridView.Parent = this; gridView.BringToFront(); Random r = new Random(); DataTable table = new DataTable(); table.Columns.Add("ID"); table.Columns.Add("Name"); table.Columns.Add("Bool"); for (int i = 0; i < 10; i++) { table.Rows.Add(i, "Row" + i, (r.Next(10) > 5) ? true : false); } gridView.DataSource = table; gridView.MultiSelect = true; } protected override void OnButton1Click() { //your code for deleting rows if (this.gridView.SelectedRows.Count > 0) { System.Windows.Forms.Cursor.Current = Cursors.WaitCursor; GridViewDataRowInfo[] rows = new GridViewDataRowInfo[this.gridView.SelectedRows.Count]; this.gridView.SelectedRows.CopyTo(rows, 0); this.gridView.TableElement.BeginUpdate(); for (int i = 0; i <= rows.Length - 1; i++) { //rows[i].IsSelected = false; rows[i].Delete(); } this.gridView.TableElement.EndUpdate(); System.Windows.Forms.Cursor.Current = Cursors.Arrow; } } } }
FIX. RadGridView - CompositeFilterDescriptors does not work properly
FIX. RadGridView- exception when filtering date time column which contains null values
FIX. RadGridView - exception when copying cells from different groups
When the DataType of the column is not a floating point number, decimals should not be displayed. This should affect both the excel like filtering and the regular filtering
The CellFormating example of RadGridView formats in red color not only FirstName column's cells.