I am using an UltraListView where each item's value.ToString() provides the text that is displayed to the user. When the value object changes what it returns for ToString to be a longer string, the item clips the the text even though there is plenty of room in the column.
How can I prevent the clipping?
(I am building with 2009.2)
OK, we will test it again once we have upgraded to the latest version.
Thanks.
I tried this with the latest 10.1 source and was not able to see anything wrong. In all likelihood there was a bug that has been fixed since the version that you are using was compiled. You should download the latest service release; even the latest 9.2 service release might have the fix in it.
Hristo: My app does not use the "in place" editing feature to change the text. Also, I was not able to open your example solution because I am using VS2008.
Brian: Setting the ColumnWidth to -1 did not change the behavior.
I have attached a zip of an example app and solution that demonstrates my workaround to the problem. If you comment out the 3 lines of kludge code you can see the clipped text behavior.
Try setting UltraListView.ViewSettingsList.ColumnWidth to -1.
Hello Larry,
I have created a simple sample with UltraListView, where its View is set to List, ItemSettings.AllowEdit is true and ViewSettingsList.MultiColumn is false. When user change Item value, the text is sized to fill the whole text area. Please see the attached file and let me know if this is what you are looking for. Feel free to modify the sample to illustrate your scenario.
Thank you.