Hi,
I use an UltroGrid of virtual mode. I noticed that the texts in some cells were truncated and it seemed the space was large enough for the whole text. I have a column with its data type of double, TextHAlign of right and format of "#,##0.00;(#,##0.00)". The digit at the hundredths place in the attached image is missing. Is there any way to avoid this?
Regards,Shaolin
Sahaja,
Thanks so much for your help!
Best regards,Shaolin
Hi Shaolin,
You can set the Col0 TextTrimming property to None if you want to show its text completely. I tested this with your Form1.cs and it is working for me. In your application, if the text is clipped even after setting the TextTrimming to None then please reproduce this issue in a sample and send it to me and I can further look into it.
Please check the attached link to read more about TextTrimming property.
http://help.infragistics.com/doc/WinForms/2016.1/CLR4.0/?page=Infragistics4.Win.v16.1~Infragistics.Win.TextTrimming.html
Sincerely,
Sahaja Kokkalagadda
Hi sahaha,
Thanks for your investigation!
I changed the code as you suggested but I did not notice any improvement. I made some of data in column "Col0" same as I used before and the same column width. They were shown exactly the same with or without TextTrimming and all the numbers were truncated. Please note my "Col0" is your "Col1" in your provided sample.
Could you please give me some more suggestions?
Thanks,Shaolin
The space you are seeing with the cell left padding is because of the masked characters in that cell.
You can use TextTrimming property to partially display the cell text. For example you can do something like this this.ultraGrid1.DisplayLayout.Bands[0].Columns["Col1"].CellAppearance.TextTrimming = Infragistics.Win.TextTrimming.Character;
Please let me know if I may be of further assistance.
Sincerely,Sahaja KokkalagaddaAssociate Software Developer
Hi Sahaja,
I am sending you another image and that is what we would like to have. The letter E of cell text "A&E" is partially displayed and the first 3 of "3,331.02" is also partially displayed.