Posted 12 April 2022, 2:05 pm EST
Hi.
I have FlexGrid which is bounded to some datasource, it shows and edit bounded (backed by data field) columns fine, but I also added two unbounded columns in designer which is not backed by any field in datasource. How can I assign values to these unbounded columns (cells)?
For example, I have code like this for column with textbox and ellipse button:
private void C1DebugPathCellButtonClick(object sender, RowColEventArgs e)
{
var folderBrowserDialog = new FolderBrowserDialog
{
Description = @"Select the directory.",
ShowNewFolderButton = false
};
var result = folderBrowserDialog.ShowDialog();
if (result == DialogResult.OK)
{
c1FlexGrid[e.Row,e.Col] = folderBrowserDialog.SelectedPath;
}
}
but nothing in column changes.
Edition is allowed per grid and column.
What I’m missing, what else should I check or change?
Thanks in advance.