The column Aksaklık
must be created once. Adding a new GridColumn
and assigning DataSource
causes the program not to work properly.
So I created a new column while assigning DataSource
, named TempColumn
, set it's visible to false. After that I added the GridColumn
and do the operations as in the code in the question. After that I used UnboundType
and get the needed string from TempColumn
:
column.UnboundType = DevExpress.Data.UnboundColumnType.String;
column.UnboundExpression = "[TempColumn]";