I have set up a grid to produce an Invoice "view" tht can be displayed in three or four formats, although I am just working on the test grid now, the xaml for this is below.
In the columns the currency symbol is a $, where is the group "footer" and the header have the desired symbol of £. I have looked at one of the samples and this has the same issue!!! Is there a resolution? Also in the same example, you can switch off the Header Aggregate (?), I have used the same code but it does not switch off!
Finally, the class has some vaildation on a couple of fields, and it is showing the validation errors in the grid, even though these fields are not being shown. Is there a way of switching of the validation in the Grid View?
Thanks in Advance.
Steve
<
telerik:RadGridView
x:Name
=
"ScopeGridView"
ShowGroupPanel
=
"False"
RowIndicatorVisibility
=
"Collapsed"
GridLinesVisibility
=
"Vertical"
VerticalGridLinesBrush
=
"{StaticResource AccentBrush}"
HorizontalGridLinesBrush
=
"{StaticResource BasicBrush}"
AutoGenerateColumns
=
"False"
AutoExpandGroups
=
"True"
ShowGroupFooters
=
"True"
>
<
telerik:RadGridView.Resources
>
<
Style
TargetType
=
"telerik:GroupHeaderRow"
>
<
Setter
Property
=
"ShowGroupHeaderColumnAggregates"
Value
=
"False"
/>
<
Setter
Property
=
"ShowHeaderAggregates"
Value
=
"False"
/>
</
Style
>
</
telerik:RadGridView.Resources
>
<
telerik:RadGridView.Columns
>
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding Quantity, Mode=TwoWay, StringFormat=\{0:F2\}}"
IsFilterable
=
"False"
Header
=
"Quantity"
CellStyle
=
"{StaticResource ValuecellStyle}"
IsReadOnly
=
"True"
/>
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding product.Name}"
IsFilterable
=
"False"
Header
=
"Product Name"
IsReadOnly
=
"True"
/>
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding LineTotal, StringFormat=\{0:c\}}"
IsFilterable
=
"False"
Header
=
"Price"
IsReadOnly
=
"True"
>
<
telerik:GridViewDataColumn.AggregateFunctions
>
<
telerik:SumFunction
SourceField
=
"LineTotal"
ResultFormatString
=
"Total: {0:c}"
/>
</
telerik:GridViewDataColumn.AggregateFunctions
>
</
telerik:GridViewDataColumn
>
</
telerik:RadGridView.Columns
>
<
telerik:RadGridView.GroupDescriptors
>
<
telerik:GroupDescriptor
Member
=
"RoomName"
SortDirection
=
"Ascending"
>
</
telerik:GroupDescriptor
>
</
telerik:RadGridView.GroupDescriptors
>
</
telerik:RadGridView
>
Finally, the class has some vaildation on a couple of fields, and it is showing the validation errors in the grid, even though these fields are not being shown. Is there a way of switching of the validation in the Grid View?
Thanks in Advance.
Steve