I've enabled SummarRowSettings on my grid, but do not see the "Sum" checkbox, I do see the Count, Min and Max checboxes....
I've explicitly set the column datatype as double, using the code below..
xamGrid1.ColumnTypeMappings[columnIndex].DataType = typeof(double);
Pls. assist why I'm not able to see the "sum" checkbox at the top and also the sorting of the column seems to be string based (instead of double)...
Thanks
I guess the problem here is the datatype. In my case the grid is bound to the datasource, after which I'm trying to change the datatype from string to double...
Is there a way to change the datatype of a column after the grid is bound?
no the column's data type is fixed.
You could try using an unbound column and using a value converter to switch your value. you could create custom summaries to handle a string to double conversion, a custom sort comparer to do the comparision for you in double rather then string.
If you have control of the Data object you could make a property off the data object that does the conversion for you and represent your data in a different form.