I have a data grid with several columns, the first of which is an integer column which I have formated as N0.
When data is loaded in the grid I am able to sort by this column with no problem. I the user changes the value of one of the cells in the first column to be a different integer value (like from 10 to 15) and tries to resort by clicking on the column title, we get the following error.
"Object must be of type string" and one time when I was testing it I got an error stating "Object must be of type Int32".
Any ideas on what's going on and more importantly how to fix it?
When data is loaded in the grid I am able to sort by this column with no problem. I the user changes the value of one of the cells in the first column to be a different integer value (like from 10 to 15) and tries to resort by clicking on the column title, we get the following error.
"Object must be of type string" and one time when I was testing it I got an error stating "Object must be of type Int32".
Any ideas on what's going on and more importantly how to fix it?