I am using C1FlexGrid and I set the data table as c1flexgrid’s data source. now I want to map filed of data table to columns of c1flexgrid by code. please tell me how to do it.
I am using C1FlexGrid and I set the data table as c1flexgrid’s data source.
Share
To programmatically create columns on the C1FlexGrid:
– Set AutoGenerateColumns to False
– Add column definitions to the C1FlexGridBase.Cols() collection.
– Bind the DataTable to the flexgrid
For example,