Hi, I am having a problem when I group the unboundfield of type date is not grouping it and it puts everything as one group. Tried several things and seems not working. I tried adding format and EditType and all those doesn't seem like fixing it. what am I doing wrong here?
<igDP:UnboundField Column="6" Row="0" Name="Date Attached"
BindingPath="GlobalObjectAttachments[0].AttachmentTimestamp"
BindingMode="OneWay">
<igDP:Field.Settings>
<igDP:FieldSettings AllowEdit="False" AutoSizeOptions="Label">
<igDP:FieldSettings.EditorStyle>
<Style TargetType="{x:Type igEditors:XamDateTimeEditor}" >
<Setter Property="Mask" Value="{}{date}"/>
</Style>
</igDP:FieldSettings.EditorStyle>
</igDP:FieldSettings>
</igDP:Field.Settings>
</igDP:UnboundField>
Thanks
Ganesh
Hi Alex, I could able to resolve it in two ways, I changed as follows and that works, but the AllowRecordFilter for this particular unbound field treats like a TEXT, so I came up with other alternative approach of making it as field rather unboundfield and fixed that in my domain entity, now everything works!!!! thats so weird though.
BindingPath="GlobalObjectAttachments[0].AttachmentTimestamp.DateTime.Date"
Here is my final solution that addressed all my problem....
<igDP:Field Column="7" Row="0" Name="DateAttached" Label="Date Attached">
<igDP:FieldSettings AllowEdit="False" AutoSizeOptions="Label"/>
</igDP:Field>
</igDP:FieldLayout.Fields>
Hello Ganesh,
I am getting the same outcome with VS2010 as well. Is it possible to modify my project so that the issue is reproducible and attach it back. Also please give us the exact dll versions that you are testing this with.
Hi Alex, Your sample just works fine, but it does it will make difference with VS2010 with 10.1v? Also I tried sorting that particular unboundfield and it does sorting but when group it, it gives null object reference. Now thats a different issue though and I don't worry about that now. Core issue now is grouping is not working. I have set groupbymode as Date. Here is the screen shot....
I was not able to reproduce this issue. Can you please give us more information on your scenario. I have attached my sample project, which uses your xaml code to bind to a DateTime value using UnboundField.
Thank you.