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.
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.
Horizontal scroll bar should appear when auto size columns mode is enabled and columns has minimum width that cause the total width of the columns to be more that the visible area width.
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.
Here is how this issue can be worked around: void radGridView1_CellEditorInitialized(object sender, GridViewCellEventArgs e) { ((RadMultiColumnComboBoxElement)e.ActiveEditor).AutoSizeDropDownToBestFit = true; ((RadMultiColumnComboBoxElement)e.ActiveEditor).DropDownAnimationEnabled = false; }
Currently it is not possible to insert custom worksheets (for example notes or a cover page) when exporting via ExportToExcelML
The control just does not appear in the destination solution.