Add option for alphabetical order of the columns in the "Rule applies on:" drop down list.
1. Add a RadGridView 2. Create a new method and call it on a button click 2. Create and set a ColumnGroupsViewDefinition 3. Add rows in unbound mode
Currently the editor cannot be closed using the CancelEdit method when handling the CellValidating event.
FIX. RadGridView - setting the grid to ReadOnly and then back to normal mode, does not show the AddNewRow
One may want to perform a search operatior over the records of RadGridView instead of filtering them. The search should be incremental and should scroll to the first position that contains a record that matches the search criteria.
The issue appears when the current column of the control is changed programmatically in a way that the RadGridView's horizontal scrollbar value needs to be positioned between its minimum and maximum value.
FIX. RadGridView - header cells incorrect state when column grouping is used. The clicked cells remain Hovered even when the mouse is not longer above the cell.
ADD. RadGridView - add the ability to group by a certain column and display the groups sorted by the values of another column
FIX. RadGridView - composite filters does not work
The GetLookUpValue method of GridViewComboBoxColumn throws exception when the column shows enum values.
FIX. RadGridView - FilterButton for Excel-Like filtering of GridViewComboBoxColumn, shows incorrect ToolTipText
Currently it is possible to localize only menu names that appear in expression editor list, not in the expression itself.
Group Descriptors are added before adding rows in unbound mode and not using defer refresh or Begin/EndUpdate test: ---------------------------------------------------- using System.ComponentModel; using System.Windows.Forms; using Telerik.WinControls.UI; namespace Lab.Grid { public partial class GridGroupInUnboundMode : MainForm { private RadGridView gridView = new RadGridView(); public GridGroupInUnboundMode() { InitializeComponent(); this.gridView.Dock = DockStyle.Fill; this.gridView.Parent = this; this.gridView.BringToFront(); gridView.GroupDescriptors.Add("Name", ListSortDirection.Ascending); GridViewTextBoxColumn col = new GridViewTextBoxColumn(); col.HeaderText = col.Name = "Id"; col.DataType = typeof(int); gridView.Columns.Add(col); col = new GridViewTextBoxColumn(); col.HeaderText = col.Name = "Name"; col.DataType = typeof(string); gridView.Columns.Add(col); col = new GridViewTextBoxColumn(); col.HeaderText = col.Name = "Sum"; col.DataType = typeof(double); gridView.Columns.Add(col); } protected override void OnButton1Click() { gridView.Rows.Add(1, "Ivan", 123.56); gridView.Rows.Add(2, "Ivan", 372.90); gridView.Rows.Add(3, "Peter", 500.00); } protected override void OnButton2Click() { gridView.Rows.Add(4, "George", 300.00); gridView.Rows.Add(5, "George", 600.00); gridView.Rows.Add(6, "George", 100.00); gridView.Rows.Add(7, "Enzo", 78.00); } protected override void OnButton3Click() { gridView.Rows.Add(8, "Enzo", 100.00); gridView.Rows.Add(9, "Enzo", 200.00); gridView.Rows.Add(10, "Enzo", 300.00); } } }
1. Create a new project and add RadGridView 2. Bind to a large DataSource (e.g. 150 k rows) 3. Set MultiSelect property to true 4. On a button click call the SelectAll method 5. Run the application and click the button
Manually generated hierarchy does not contain data if the Relation is defined before setting the data source to the parent level.
When there is as self-referencing hierarchy, column's BestFit method does not work properly.
ADD. RadGridView - SelectLastAddedRow should work in scenarios when user adds row too, not only by adding rows from the datasource. Comment - the property is intended to work only for added rows in the RadGridView DataSource. For the rest of the cases, the cases, the UserAddedRow event should be handled.
There is an exception when resetting the binding source on CellEndEdit after pressing Enter Comment: It is not correct to preserve the CurrentRow position when changing/reseting the binding source. Instead you can preserve its index and restore it when the data source is updated!
The vertical scrollbar of RadGridView is not correctly calculated in a scenario with AutoSizeRows and added rows to the control using the Rows.NewRow() method.
Pressing Ctrl+Shift+Home should select all rows from the current one to the first row. Pressing Ctrl+Shift+End should select all rows from the current one to the last row.