Hi, I we are missing one another. In your sample, you are not setting data into the flag column. Note the last column is blank.
employeeCollection.Rows.Add(1001, "SAKIA", "Mariana", "Germany", "");
If I populate that column, the text shows as in the picture below.
employeeCollection.Rows.Add(1001, "SAKIA", "Mariana", "Germany", "test");
For my application, this is a valid column that has a value - it is a series of up to 18 columns. I need to read each one to determine what image thumbnail to show. If I remove the binding, I can still reference the data in the underlying dataset to get the image to show but I then cannot get a real heading to show (it defaults Column n evenb if I set the heading as below.
// image columns
for (int i = 1; i <= _MaxImages; i++)
{
var imgGC = new GridImageColumn
{
//MappingName = $"Image{i}",
HeaderText = $"Image{i}",
ImageLayout = ImageLayout.Zoom
};
sfdgOutput.Columns.Add(imgGC);
}
My goal is to have these columns not show the underlying text but be actually bound. Is there a way to override this? It is not an option to have up to 18 empty placeholders in my data. Thanks