I am using xamldatagrid and i have two issues.
1. I want to show all decimal places when the column is double
2. I want to remove (items 2, items 3) when the column is grouped
Any ideas how can I do these??
Thank you
Thank you very much for the confirmation. I also found this post useful.
Hello,
You are right that you have to create separate Style for the different Fields and that you have to set the Format Property since your Editors won’t be editable. You can set the Format to “.###”, which will mean that the XamNumericEditor will show maximum 3 digits after the floating point.
I should also make it more clearer. My grid is view only; cell would not go in Edit mode. Is format the right property to set for XamNumericEditor. Can you paste a help link to achieve result for the question raised in the post earlier than this?
Can I extend the question; I have various numeric (double) columns in grid. I wanted to set style to show variable number of decimal places (say column 1 shows upto 2 decimal places, column 2 shows upto 4 decimal places and column 3 shows upto 10 decimal palces and so on), I dont know how big the number would be. Assuming I can set Mak propert for XamNumericEditor based on following format:{double:-i.f:c}So my question is; would I need to create a number of sytles? I think probably would need to.How can I skip specifiying "i" in above expression as you could imagine double can be a huge number and I dont want to restrict by specifying it.
I am just checking if you got this worked out or you still require any assistance or clarification on the matter.