When you copy from excel & if there are some empty columns in the excel file those empty columns aren't copied.The grid simply ignores the empty columns.Just run the attached sample project and copy the content from excel file and paste on the grid.T
1. Create a new project with RadGridView and setup hierarchy with three levels. 2. Add a button and when handling its Click event call the ExpandAll method. 3. Run the project and expand the first row. 4. Click the button.
1. Create a new project with RadGridView. 2. Setup hierarchy with two child templates. 3. Set the AutoSizeRows to true. 4. Run the project, select the second template on 5 consecutive rows. 5. Start scrolling up and down with the mouse wheel slowly. 6. Click on a child row.
FIX. RadGridView - FilterOperator.IsEqualTo and FilterOperator.IsNotEqualTo should work with null using System; using System.Data; using System.Windows.Forms; using Telerik.WinControls.Data; using Telerik.WinControls.UI; namespace Lab.Grid { public partial class GridFilterEqualNullSupport : MainForm { private RadGridView gridView = new RadGridView(); public GridFilterEqualNullSupport() { InitializeComponent(); gridView.Dock = DockStyle.Fill; gridView.Parent = this; gridView.BringToFront(); gridView.EnableFiltering = true; } protected override void OnLoad(EventArgs e) { base.OnLoad(e); DataTable table = new DataTable(); table.Columns.Add("Id", typeof(int)); table.Columns.Add("Name"); table.Columns.Add("Number", typeof(DateTime)); table.Rows.Add(1, "Ivan", DateTime.Now); table.Rows.Add(2, "Ivan", DateTime.Now.AddDays(-1)); table.Rows.Add(null, "Peter", DateTime.Now); table.Rows.Add(4, "George", null); table.Rows.Add(5, "George", null); table.Rows.Add(null, "George", null); table.Rows.Add(7, "Enzo", DateTime.Now.AddDays(-3)); table.Rows.Add(8, "Enzo", DateTime.Now.AddDays(5)); table.Rows.Add(null, "Enzo", null); table.Rows.Add(10, "Enzo", DateTime.Now.AddDays(-1)); gridView.DataSource = table; } protected override void OnButton1Click() { base.OnButton1Click(); FilterDescriptor filter1 = new FilterDescriptor("Id", FilterOperator.IsEqualTo, null); gridView.FilterDescriptors.Add(filter1); } protected override void OnButton2Click() { base.OnButton2Click(); FilterDescriptor filter1 = new FilterDescriptor("Id", FilterOperator.IsNotEqualTo, null); gridView.FilterDescriptors.Add(filter1); } protected override void OnButton3Click() { FilterDescriptor filter1 = new FilterDescriptor("Id", FilterOperator.IsEqualTo, ""); gridView.FilterDescriptors.Add(filter1); } } } 1. Open attached project and run it. 2. Click button 1 and you will see that is not apply
Use the ticket project: - type in filtercell T2 the following text: test - make no commit of the filter cell! - click directly on the radbutton of the ribbonbar - click in the filter cell of T2 - click in grid - click in filter cell of T2 - click in grid
1. Create a new project with RadGridView and bind it. 2. Run the application. 3. Double click on a column to best fit. 4. Double click the same column twice
Steps to reproduce. 1. Add a RadGridView to a form 2. Add a decimal column and set its DataType to any unsigned integer type (uint16, uint32, uint64) 3. Add some values and export the grid with ExportToExcelML 4. You will see that in the exported grid the cells in the column would have "0" as a value.
There is an exception in RadGridView when using conditional formatting and sorting the grid descending.
The following line leaves the visual lines of the child templates selected: this.radGridView1.ClearSelection() To workaround the issue use this.radGridView1.TableElement.UpdateView() after clearing the selection.
I have a problem with read only columns. When I paste a value (CTRL+V) on a cell from a read only column the value from that cell is changed with the value from the clipboard.
FIX. RadGridView - exception when BestFitColumns is called during data update
You cannot changed the value of a check box cell for more than one child rows in object relation hierarchy.
If the child template of a grid has a HtmlViewDefinition and AutoSizeColumnsMode property set to Fill, the cells are not measured properly when the row is resized horizontally.
1. Create a new project with RadGridView and bind it. 2. Add a button and when handling its Click event set the CurrentRow to null. 2. Run the project. 3. Start narrator. 4. Sort by some column. 5. Click the button.
In html view definition and hierarchy mode, the RadGridView throws exception when the TableElement is in explorer bar mode.
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.