Completed
Last Updated: 16 Mar 2018 11:47 by Dimitar
ADMIN
Dess | Tech Support Engineer, Principal
Created on: 15 Mar 2018 06:35
Category: GridView
Type: Bug Report
1
FIX. RadGridView - conditional formatting doesn't work for typeof(ushort)
To reproduce: 
            DataTable dt = new DataTable();
            dt.Columns.Add("Id", typeof(int));
            dt.Columns.Add("Name", typeof(string));
            dt.Columns.Add("NumberAsShort", typeof(ushort));
            for (int i = 0; i < 100; i++)
            {
                dt.Rows.Add(i, "Row" + i, i );
            }
            this.radGridView1.DataSource = dt;

Workaround: use the CellFormatting event https://docs.telerik.com/devtools/winforms/gridview/cells/formatting-cells
0 comments