Hello,
I have a problem with saving a column in a radgridview with an expression to the datasource. Im not really sure how to do this or if I actually did this right, I have a column that computes the difference in number of days from another column. Since the whole column is created using the expression editor I was wondering if there was a way to save this back to the datasource without having to go through manually copying each item in the radgridview into the datatable.
I populate my RadGridView using a custom dataTable as a dataSource. And also the column with the expression is dynamic based on a datepicker so its like saying that how many days difference is it if I put in this day or 5 days later. That's why the expression recomputes everytime and thats why I use the RadGridView.Columns["<Column here>"].Expression property. My only problem is that the datasource is not being updated whenever I do this. So please help, and thank you greatly :D
I have a problem with saving a column in a radgridview with an expression to the datasource. Im not really sure how to do this or if I actually did this right, I have a column that computes the difference in number of days from another column. Since the whole column is created using the expression editor I was wondering if there was a way to save this back to the datasource without having to go through manually copying each item in the radgridview into the datatable.
I populate my RadGridView using a custom dataTable as a dataSource. And also the column with the expression is dynamic based on a datepicker so its like saying that how many days difference is it if I put in this day or 5 days later. That's why the expression recomputes everytime and thats why I use the RadGridView.Columns["<Column here>"].Expression property. My only problem is that the datasource is not being updated whenever I do this. So please help, and thank you greatly :D