Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
570
PerformAutoSize on a Field that has value produced by converter
posted

Good day

 

I was able to perform auto sizing on fields that has a combo box editor inside, but it does not work for the following field:


 <igDP:Field Name="Duration" Label="Duration" Converter="{StaticResource DurationConv}">

       <igDP:Field.Settings>

               <igDP:FieldSettings AutoSizeScope="ViewableRecords" CellWidth="65" LabelWidth="65"

                                                                      AllowEdit="False" EditAsType="{x:Type sys:String}" />

        </igDP:Field.Settings>

  </igDP:Field>

 

Al that the converter does is change a int value (denotes total minutes) to a string field that can be something like:

 

11 Days 5 hours 5 minutes

The prob is that the auto size sizes to 1700 which is the int's size. 

 

Is this a grid problem?

Is there a workaround?