datafilter bind with grid columns' header

1 posts, 0 answers
  1. mehmood ahmed
    mehmood ahmed avatar
    7 posts
    Member since:
    Dec 2009

    Posted 08 Dec 2011 Link to this post

    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>
    =======================================

Back to Top