Hello
I have a dataTable with two columns : a boolean and a date.
This dataTable is exposed in a DataGrid and only the boolean column is shown to the user.
What I want to do, when the user checks the checkBox, is to set the current date in the date column. And when he unchecks it, to set a specific date.
Is this can be done with the DataColumn.Expression ?
I do that for the moment by listening the columnChanged event but I would like to be able to centralize that behavior with the DataTable definition and do so with an Expression
Any idea ?
I have a dataTable with two columns : a boolean and a date.
This dataTable is exposed in a DataGrid and only the boolean column is shown to the user.
What I want to do, when the user checks the checkBox, is to set the current date in the date column. And when he unchecks it, to set a specific date.
Is this can be done with the DataColumn.Expression ?
I do that for the moment by listening the columnChanged event but I would like to be able to centralize that behavior with the DataTable definition and do so with an Expression
Any idea ?