This is a migrated thread and some comments may be shown as answers.

datafilter bind with grid columns' header

0 Answers 95 Views
DataFilter
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
mehmood ahmed
Top achievements
Rank 1
mehmood ahmed asked on 08 Dec 2011, 06:25 AM
Datagrid have some columns.

1.> nme

2.> age

and their header are:

1.> Name

2.> Age

Can i bind header to RadDataFilter?

 

i am doing like this. Please make it correct. Thanks

 I want to get their headers as Header="Quotation Id".

<ns:DataFilter Name="radDataFilter" Source="{Binding Items, ElementName=gvQuotationQueue}" EditorCreated="radDataFilter_EditorCreated"
                                                           
Grid.Column="0" Grid.Row="1"                                                                            
                                                           
Margin="1"/>

==============================================

 
<ns:GridView AutoGenerateColumns="False" x:Name="gvQuotationQueue" Margin="5" CanUserDeleteRows="False" ShowGroupPanel="False"
           
telerik:StyleManager.Theme="Metro" CanUserSelect="True"  HorizontalAlignment="Center" VerticalAlignment="Top"
           
Width="Auto" Height="Auto" Grid.Row="3" Grid.Column="0" IsReadOnly="True">
           
<ns:GridView.Columns>
               
<ns:GridViewDataColumn Header="Quotation Id" DataMemberBinding="{Binding QUOTATIONID}" Width=".10*" IsVisible="False"/>
               
<ns:GridViewDataColumn Header="Quotation No" DataMemberBinding="{Binding QUOTATIONNBR}" Width=".20*"/>
               
<ns:GridViewDataColumn Header="Product Type" DataMemberBinding="{Binding FINANCIALPRODUCTNME}" Width=".25*"/>
               
<ns:GridViewDataColumn Header="Date" DataMemberBinding="{Binding QUOTATIONDTE}" Width=".25*"/>
               
<!--<ns:GridViewDataColumn Header="Status" DataMemberBinding="{Binding REQUESTSTATUSCDE}" Width=".15*"/>-->
               
<ns:GridViewDataColumn Header="Applicant Name" DataMemberBinding="{Binding APPLICANTNME}" Width=".25*"/>
               
<ns:GridViewDataColumn Header="Asset Make" DataMemberBinding="{Binding ASSETMAKEDSC}" Width=".25*"/>
               
<ns:GridViewDataColumn Header="Asset Model" DataMemberBinding="{Binding ASSETMODELDSC}" Width=".25*"/>
               
<ns:GridViewDataColumn Header="Financed Amount" DataMemberBinding="{Binding FINANCEDAMT}" Width=".25*"/>
               
<ns:GridViewDataColumn Header="Introducer" DataMemberBinding="{Binding BPINTRODUCERNME}" Width=".25*"/>
               
<ns:GridViewDataColumn Header="Company Branch" DataMemberBinding="{Binding BPCOMPANYBRANCHNME}" Width=".25*"/>
           
</ns:GridView.Columns>
       
</ns:GridView>
=======================================

Tags
DataFilter
Asked by
mehmood ahmed
Top achievements
Rank 1
Share this question
or