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
The check box should be placed in the header cell (if the users wants to). Additionally it should be able to control both one level and hierarchy Resolution: You need to set the EnableHeaderCheckBox property to true. Please refer in help article for more information: http://www.telerik.com/help/winforms/gridview-columns-gridviewcheckboxcolumn.html
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
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(); }
virtual filtering operation - detached filter GUI to support filtering in external datasource or possibility to replace the data in RadGridView control when new filter is applied.
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.
I have a form with a RadGridView that's bound to an list of Custom Objects. Each custom object has a property that is also a list of custom objects of a different class. I added a child template to the main grid for this property and created a relation between the two. Everything displays nicely and I can add new rows to the main grid. However, when I attempt to add a new row to one of the child grids, the row does not get added.
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;
1. By default I cannot paste data on the radgrid if I don't have any rows created.For e.g in a grid with no rows I cannot paste data on the radgrid.Is there any setting to chane this behavior? 2. When I copy data from excel and paste in the grid the column order has to be the same as that in the excel.For e.g in the excel the columns are A,B,C and in the grid the order is C,B,A..Then 'paste' copies A' data to C and C's data on excel to column A on the grid. Is it possible to trap the pasting programmatically to paste A's data in excel to A's column of the grid.ie. one to one. irrespective of the column order mismatch between the excel and the grid? Also I should be able to paste data to an empty grid by identifying how many rows needs to be created.
Workaround: List<object> list = new List<object>(array); this.radGridView1.DataSource = list;
There is an exception in RadGridView when using conditional formatting and sorting the grid descending.
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.
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.
RadGridView should support indexed full-text search out of the box.
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.
steps to reproduce the bug: 1. run HtmlViewTest.exe 2. don't re-size the form (keep the horizontal scroll bar visible in grid) 3. keep editing column4 several times 4. System.NullReferenceException will be thrown
Stack Overflow Exception in the CellValueNeeded Event after sorting when RowIndex, ColumnIndex arguments is used
The Expression Editor should be able to make expressions for a column in the parent template getting data from the child views.