Hi,
I have multiple columns in XamDataGrid and one of them is a combo box editor column. A single value in this combobox could be lengthy so is there any way to wrap this data? Also, can we have a generic text wrapping style to be applied on to the grid irrespective of what the editor type of the column is? I want to ensure that the text is wrapped irrespective of the control so if an option at the grid level is available could you help me regarding the same?
I generate the grid from code behind and not xaml as my use-case requires that.
Hello,
I am just checking, if you require any further assistance on this matter.
After some research the functionality that you are looking for has been determined to be a new product idea. I have sent your product idea directly to our product management team. Our product team chooses new product ideas for development based on popular feedback from our customer base. Infragistics continues to monitor application development for all of our products, so as trends appear in requested ideas, we can plan accordingly.
We value your input, and our philosophy is to enhance our toolset based on customer feedback. If your idea is chosen for development, you will be notified at that time. Your reference number for this product idea is PI12060033.
If you would like to follow up on your product idea at a later point, you may contact Developer Support management via email. Please include the reference number of your product idea in the subject and body of your email message. You can reach Developer Support management through the following email address: dsmanager@infragistics.com
Thank you for your request.
This works but the height being set to 40 or any other value will not really work because the length of the string value could be anything (like a sentence). I tried "Auto" but it didn't work either. Is it not possible for the height to be dynamic based on the length of the text?
I have been looking into your requirements and I can suggest you re-template the XamComboEditor in order to set ‘TextWrapping’ property of the TextBlock in the ComboBoxDataItem to ‘Wrap’ and set the ‘Height’ property of the CellValuePresenter to appropriate value.
I am sending you a sample application(XamDataGridSample.zip) that demonstrates this custom approach.
If you have any other questions on this matter, feel free to ask.
Can you please provide a suggestion here as this is causing issues and the complete text is not being visible?