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
50
Format commands not working with Version 11.1
posted

I am new to using the WebHierarchicalDataGrid. I have a grid based on a XML file.  One field in the XML is EstimatedDepartTime. In the XML is stored as "02/24/2012 4:30:00 AM". I want only the time to appear.  However, the full Date and Time appears when I run my WebHierarchicalDataGrid. 

This is the Markup language I have:
<ig:BoundDataField DataFieldName="EstimatedDepartTime" Key="EstimatedDepartTime" DataFormatString="{0:t}" Header-Text="Estd Departure">
</ig:BoundDataField>

I have also tried DataFormatString="{0:hh:mm}

Neither works.  I would appreciate any help in resolving this.

Thank you.