Hi,
In xamdatagrid, I have a column which is of type unbound field and that values should display values in subscript and superscript format. Say for a example, Chemical formula or mathematical formula. Please help, how I can achive this.
Thanks in advance,
Sasikumar
Hi Sasikumar,
What you need to do in such a case is to write a control that reads your data and create a structure of TextBlocks and set the different TextBlocks with different margin, so you can simulate sub/super-script.
After that you can use this control in the UnboundField template.
Or you can generate the DataTemplate using Converter.
Thanks,
George
Were you able to resolve your issue?
I was just sharing ideas how you can resolve it.
I'm glad you found a solution.
Sincerely,
Hi George,
I have solved it with another way, but it would be better if you attach the sample solution with above mentioned way. Thanks
Regards,