Hello,
I have a scenario, where i need some help of you guys.
In this sample application i have created 1 Enum with short datatype.
Also, Enum is flagged enum.
[Flags]
public
enum
MyType :
short
{
None = 0,
NseFO = 1,
BseFO = 2,
NseCM = 4,
BseCM = 8,
NseCD = 16,
Use = 32,
}
Now i have created below code for generate output as shown in picture attached here.
private
void
Form1_Load(
object
sender, EventArgs e )
{
//DataColumn dt =new DataColumn("Value",typeof (Test));
//dt.DataType = typeof (Test);
//dttemp.Columns.Add(dt);
dttemp1.Columns.Add(
"ID"
,
typeof
(
int
));
dttemp1.Columns.Add(
"Value"
,
typeof
(
int
) );
//DataColumn dt = dttemp.Columns["Value"];
//dt.DataType = typeof (Test);
////dttemp.Columns.Add(dt);
dttemp1.Rows.Add(0, 0);
dttemp1.Rows.Add( 1, 1 );
dttemp1.Rows.Add( 2, 2 );
dttemp1.Rows.Add( 3, 3 );
dttemp1.Rows.Add( 4, 4 );
dttemp1.Rows.Add( 5, 5 );
temp2 = dttemp1.Clone();
DataColumn dcolumn = temp2.Columns[
"Value"
];
dcolumn.DataType =
typeof
( ExchangeType );
DataTable dtfinal = temp2.Clone();
foreach
( DataRow row
in
dttemp1.Rows )
{
temp2.Rows.Add( row.ItemArray );
}
DataView filter =
new
DataView(temp2);
dataGridView1.DataSource = filter;
c1Flex1Grid.DataSource = filter;
radGridView2.DataSource = filter;
}
There is no other event handled here for any other grids.
This simple code producing different out put as shown.
Can you tell me how can i get same output in telerikgridview??????