开发者

JibGrid - Silverlight DataGrid With Paging, Grouping, Freezing, and Filtering

I am using JibGrid to filtering data offline, so you can download the grid from this line:

http://jibgrid.codeplex.com/

my problem is:

I Can't Filtering Columns from another tables in Grid Like Department Column in this Example:

        SelectedItem="{Binding SelectedEmployee, Mode=TwoWay}" >
        <sdk:DataGrid.Columns>
            <sdk:DataGridTextColumn  Header="ID" Binding="{Binding Id}"    Width="100" ></sdk:DataGridTextColumn>
            <sdk:DataGridTextC开发者_运维知识库olumn   Header="Name" Binding="{Binding Name}"  Width="200"></sdk:DataGridTextColumn>
            <sdk:DataGridTextColumn   Header="Address" Binding="{Binding Address}"  Width="200"></sdk:DataGridTextColumn>
            <sdk:DataGridTextColumn   Header="Phone" Binding="{Binding Phone}"  Width="100"></sdk:DataGridTextColumn>
            <sdk:DataGridTextColumn   Header="Department" Binding="{Binding Departments.DepName}" Width="100"></sdk:DataGridTextColumn>

        </sdk:DataGrid.Columns>


    </jib:JibGrid> 


JibGrid only supports nested properties up to 1 level.

You need to create a getter property (readonly property) for your nested properties.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜