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
955
XamDateTimeEditor Format not applied to virtualized cells
posted

Hi,

We're using Infragistics v10.3 for WPF 4. We've got a XamDataGrid with a DateTime column configured as below.

<igDP:Field Name="AmendDate" Label="Amendment Date" Converter="{StaticResource utcToLocalTimeConverter}">
        <igDP:Field.Settings>
          <igDP:FieldSettings CellWidth="120" LabelWidth="120">
            <igDP:FieldSettings.EditorStyle>
              <Style TargetType="{x:Type igEditors:XamDateTimeEditor}">
                <Setter Property="Format" Value="dd-MMM-yyyy HH:mm:ss" />
              </Style>
            </igDP:FieldSettings.EditorStyle>
          </igDP:FieldSettings>
        </igDP:Field.Settings>
      </igDP:Field>

The problem is that when we scroll down, the values don't show the time component. If we turn off the virtualization by setting RecordContainerGenerationMode="PreLoad", then we can see the correct format on all the rows. Any workaround?

Thanks.

 

 

 

  • 5124
    Verified Answer
    posted

    Hello,

    This sounds like an issue that was fixed recently, so I would recommend to start by downloading and testing the latest Service Release for NetAdvantage for WPF.  Assuming you have registered your product key, you can find the link for download by clicking "My IG" on the Infragistics home page. Clicking the product key will display links in several categories, including Service Releases.  Once you install the Service Release on your development machine, you can use our Version Utility to upgrade the project, or you can manually update the references, clear the bin directory and licenses file and rebuild.

    Please let me know if this resolves the issue and if you have any further questions.

    Thanks,