Unplanned
Last Updated: 20 Mar 2024 13:10 by ADMIN
Unplanned
Last Updated: 11 Dec 2023 13:41 by ADMIN
Created by: Ana
Comments: 1
Category: GridView
Type: Feature Request
1
Currently, the GridViewCheckBoxColumn is not synchronized with the selection mechanism of the control. Checking a checkbox will change the value of the bound property. Synchronizing the selection with the checkbox will require custom code. We could expose GridViewSelectionColumn or modify the GridViewCheckBoxColumn to support this.
Unplanned
Last Updated: 07 Jul 2023 08:27 by ADMIN
Created by: Ian
Comments: 1
Category: GridView
Type: Feature Request
0

By default, in the Property Builder for GridView, the defaults are:

Header Text Alignment = Middle Center

Text Alignment = Middle Left.

This means that EVERY time I create a new grid, I have to remember to make them both the same.

Why make them different? It makes the grid look rubbish whenthe defaults are used.

Unplanned
Last Updated: 26 Apr 2023 10:39 by ADMIN
Currently, the RadSyntaxEditor control will preserve every change applied to its document. We could expose a mechanism to modify the undo/redo stack or suspend/resume the undo operation, thus allowing us to store only valuable changes.
Unplanned
Last Updated: 14 Nov 2022 20:41 by ADMIN

In this particular scenario, the RadDropDownListEditor element inside the RadComboBoxColumn cell contains an empty string item. So when we try to clear the value of the cell and leave it empty, the internal logic will return the last selected valid value. The following code demonstrate a simple example:

DataTable dt = new DataTable();
dt.Columns.Add("id", typeof(int));
dt.Columns.Add("codice", typeof(string));
dt.Columns.Add("nome", typeof(string));

dt.Rows.Add(0, "", "");
dt.Rows.Add(1, "I622", "Seravezza");
dt.Rows.Add(2, "G628", "Pietrasanta");
dt.Rows.Add(3, "L833", "Viareggio");

The first row in the DataTable which the RadGridView contains an empty value. If for example, the second row is selected and we use Backspace/Delete to clear the text and move to another cell. The selected item won't be changed. The cell value won't be cleared. To workaround this we could avoid using empty strings. We could use space or some other symbol to allow the user to clear the value from the drop-down popup.

dt.Rows.Add(0, "", "-");
OR
dt.Rows.Add(0, "", " ");

Unplanned
Last Updated: 11 Oct 2022 11:31 by ADMIN

GridViewCellInfo offers Style property which allows you to customize the style for the cells defined at the data cell's level: https://docs.telerik.com/devtools/winforms/controls/gridview/cells/formating-examples/style-property

This functionality should work for the header cells as well like this:

            GridViewCellInfo cell = this.radGridView1.MasterView.TableHeaderRow.Cells[0];
            cell.Style.CustomizeFill = true;
            cell.Style.GradientStyle = GradientStyles.Solid;
            cell.Style.BackColor = System.Drawing.Color.FromArgb(162, 215, 255);

 

Unplanned
Last Updated: 03 Mar 2022 08:49 by Alessandro
Created by: Alessandro
Comments: 0
Category: GridView
Type: Feature Request
1

With releasing .NET 6, there are TimeOnly and DateOnly types which would be more appropriate for managing such values:

https://devblogs.microsoft.com/dotnet/date-time-and-time-zone-enhancements-in-net-6/

It would be good to add support for these types in GridViewDateTimeView.

Currently, the following code gives an exception when entering edit mode: 

        public RadForm1()
        {
            InitializeComponent();
            DataTable dt = new DataTable();
            dt.Columns.Add("DateOnly", typeof(DateOnly));
            dt.Rows.Add(new DateOnly(2022,3,3));

            this.radGridView1.AutoGenerateColumns = false;
            GridViewDateTimeColumn dateColumn = new GridViewDateTimeColumn();
            dateColumn.FieldName = "DateOnly";
            this.radGridView1.Columns.Add(dateColumn);
            this.radGridView1.DataSource = dt;
            this.radGridView1.AutoSizeColumnsMode = GridViewAutoSizeColumnsMode.Fill;
        }

 

 

Workaround: you can use the following custom TypeConverter

        public RadForm1()
        {
            InitializeComponent();
            DataTable dt = new DataTable();
            dt.Columns.Add("DateOnly", typeof(DateOnly));
            dt.Rows.Add(new DateOnly(2022,3,3));

            this.radGridView1.AutoGenerateColumns = false;
            GridViewDateTimeColumn dateColumn = new GridViewDateTimeColumn();
            dateColumn.DataType = typeof(DateTime);
            dateColumn.FieldName = "DateOnly";
            dateColumn.Format = DateTimePickerFormat.Custom;
            dateColumn.CustomFormat = "dd/MM/yyyy";
            dateColumn.FormatString = "{0:dd/MM/yyyy}";
            dateColumn.DataTypeConverter = new DateOnlyConverter();
            this.radGridView1.Columns.Add(dateColumn);
            this.radGridView1.DataSource = dt;
            this.radGridView1.AutoSizeColumnsMode = GridViewAutoSizeColumnsMode.Fill;
        }


        public class DateOnlyConverter : TypeConverter
        {
            public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType)
            { 
                return destinationType == typeof(DateTime);
            }
            public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
            { 
                if (value is DateOnly && destinationType == typeof(DateTime))
                {
                    DateOnly date = (DateOnly)value;
                    return new DateTime(date.Year, date.Month, date.Day);
                }
                
                return base.ConvertTo(context, culture, value, destinationType);
            }
            public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
            { 
                return sourceType == typeof(DateTime) ;
            }
            public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
            { 
                if (value is DateTime)
                {
                    DateTime date = (DateTime)value;
                    return new DateOnly(date.Year, date.Month, date.Day);
                }
                
                return base.ConvertFrom(context, culture, value);
            }
        }

 

    
Unplanned
Last Updated: 14 Feb 2022 11:44 by Victor

Use the following code snippet:

            GridViewDateTimeColumn orderDate = this.radGridView1.Columns["OrderDate"] as GridViewDateTimeColumn;
            orderDate.Format = DateTimePickerFormat.Custom;
            orderDate.CustomFormat = "dd-MM-yyyy";
            orderDate.FormatString = "{0:dd-MM-yyyy}";


            GridViewDateTimeColumn shippedDate = this.radGridView1.Columns["ShippedDate"] as GridViewDateTimeColumn;
            shippedDate.Format = DateTimePickerFormat.Custom;
            shippedDate.CustomFormat = "dd-MM-yyyy";
            shippedDate.FormatString = "{0:dd-MM-yyyy}";

When the grid is grouped by a column with a specific format, it should be taken in consideration by the group row as well.

 

Unplanned
Last Updated: 19 Oct 2021 07:12 by ADMIN
Created by: Manolo
Comments: 0
Category: GridView
Type: Feature Request
0
The following problem occurs in most Telerik controls: when browsing the screen with tab key and the screen reader arrives at a Telerik control it says unnecessary information, the Name property, or the name of control. In this case, when I arrive at this radGridView, the screen reader says: "Telerik.WinControls.UI.RadGridView ; 4;3  Tabla"
Part by part:
- Telerik.WinControls.UI.RadGridView: it is very annoying to receive this information.
- 4;3: this information is very important due to the screen reader says the quantity of rows and columns has the grid.
- Tabla: this information is from the screen reader and the operating system which inform the control type I am browsing.

Testing other controls I have found more accessibility troubles, but I think that it would take too long for this email.
Unplanned
Last Updated: 17 Apr 2024 14:40 by ADMIN
When you inspect a RadGridView Cell with the inspect.exe tool you will see that the Value property is empty.
Unplanned
Last Updated: 06 Apr 2021 12:41 by ADMIN

Dear Support team,

Our Application issue: While running application in assistive mode and having a grid with large number of columns, Narrator/JAWS starts reading each Column Value as "DbNull"
while User is Tabbing through selected Row. (Please see attach Video for better understanding.)

I also created a sample Program:

1. Build Win Form app having a RadGridView. [Sample Attached in 1514161]
2. Start Win 10 Narrator App

3. Run App from Step #1 [Note: Please do not Resize Main Form yet]
4. Start Tabbing from Grid selected Row. Narrator does not read/speak Cell Values.

5. Now Close & Run Application again and Maximize Window. Repeat Step #4. Narrator reads/speak Cell Values as expected.

 

It seems reads all values fine until they are visible, and once you continue tabbing and horizontal scrolling happens and then stops reading.

 

Please advice.  A Fix for it would be a great help!


Looking forward to hear back!

Thanks and Regards,

Vivek
Sr. .Net Developer

Unplanned
Last Updated: 04 Dec 2020 09:33 by ADMIN
Created by: Chris
Comments: 0
Category: GridView
Type: Feature Request
0

The main purpose is optimizing memory consumption and performance when generating large pdf documents.

Resource: https://www.telerik.com/blogs/pdf-stream-processing-reliable-and-efficient-processing-of-pdf-files 

Unplanned
Last Updated: 17 Nov 2020 12:59 by ADMIN

I want that the user can select a value from al list like in excel:

Currently, when using the Excel-like filtering and RadListFilterPopup it does not allow filtering by time, only by date:

Unplanned
Last Updated: 09 Oct 2020 13:40 by ADMIN
Created by: Venugopal
Comments: 0
Category: GridView
Type: Feature Request
1

When you have a checkbox column in the grid and group by a certain column, you should have the possibility to check-all rows inside a group without the necessity of expanding the group and checking each separate row.

The group row should have a checkbox as well. When you toggle it, all data rows or nested groups should also be toggled. The parent group should also be adjusted correctly.

Workaround: The following knowledge base article demonstrates a sample approach how to extend the default group row and add a checkbox. However, it would be necessary to modify and extend it in a way to cover the cases with nested groups:

https://www.telerik.com/support/kb/winforms/details/check-all-functionality-in-group-rows 

Unplanned
Last Updated: 15 Jul 2020 13:12 by ADMIN

Currently, when you update the value of the checkbox cell (toggle/untoggle), Narrator reads the value only the first time after selecting the cell. Each next checking/unchecking does nothing.

It is expected from the Narrator to read the value of the RadCheckBoxEditor when it is being activated after entering edit mode. It the column uses EditMode.OnValueChange, the value changes also should be read by the Narrator.

Unplanned
Last Updated: 14 Jul 2020 05:30 by ADMIN
Created by: Vivek
Comments: 0
Category: GridView
Type: Feature Request
1
Currently, the summary rows can't be selected since they are system rows and they are not read by the Narrator.
Unplanned
Last Updated: 19 May 2020 14:02 by ADMIN

Hello.

In my application, depending on the specific data in the grid I may want to warn a user who clicks on the header checkbox that changing all the values in that column may not be what he intends, allowing him to cancel out of the operation.  I haven't found a handler that gets called when clicking on the header checkbox that allows me to cancel the event.  How can I accomplish this?

Unplanned
Last Updated: 26 Mar 2021 11:39 by ADMIN
I was creating a table with filters when I noticed that there is an option in the filters for 'EndsWith' but not one for 'DoesNotEndWith'. We use internal part numbers for our products where the last 3 digits determine the department in which the product was made. Because wildcards cannot be used within the RadGridView filters, I am having to create a unusual workaround. The same can be said about 'DoesNotBeginWith'.
Unplanned
Last Updated: 17 Jan 2020 11:23 by ADMIN
Created by: Arun
Comments: 1
Category: GridView
Type: Feature Request
0

Hi, 

I have to transfer data from gridview to a .xlsm file which is for the salary transfer to the bank from the application (Template given by the Bank).

File screenshot attached. 

Need to fill the cells from the loaded gridview to this template.

Please help; I have searched a lot but no luck.

Thank you very much.

 

 

Unplanned
Last Updated: 14 Oct 2019 06:06 by ADMIN

Please refer to the following code snippet demonstrating how the comparer can be applied:

        public RadForm1()
        {
            InitializeComponent();
            this.radGridView1.EnableFiltering = true;
            this.radGridView1.ShowHeaderCellButtons = true;
            this.radGridView1.FilterPopupInitialized += radGridView1_FilterPopupInitialized; 
        }

        private void radGridView1_FilterPopupRequired(object sender, FilterPopupRequiredEventArgs e)
        {
            RadListFilterPopup popup = e.FilterPopup as RadListFilterPopup;
            if (popup != null)
            { 
                popup.MenuTreeElement.TreeView.TreeViewElement.Comparer = new MyComparer(popup.MenuTreeElement.TreeView.TreeViewElement);
            }
        }

        class MyComparer : TreeNodeComparer
        {
            public MyComparer(RadTreeViewElement treeView)
                : base(treeView)
            {
            }
            public override int Compare(RadTreeNode x, RadTreeNode y)
            {
                if (this.TreeViewElement.SortOrder == SortOrder.Descending)
                {
                    return x.Text.CompareTo(y.Text);
                }
                return x.Text.CompareTo(y.Text) * -1;
            }
        }

1 2 3 4 5