sorting,filtering,searching on Component art wpf gird

Posted by Vikas227 under WPF on 2/18/2011 | Points: 10 | Views : 2638 | Status : [Member] | Replies : 1
i have already added sorting,filtering,searching on Component art wpf grid as shown in Online documentation but its not wotking.my source code is here:

<xmlgrd:DataGrid Name="Searchkeyword" VerticalAlignment="Top" Margin="0,0,20,0" Grid.Row="2" AllowSorting="True" SearchBoxVisibility="Visible" AllowPaging="False" ShowColumnFilters="True" ScrollBar.Scroll="Grid_Scroll" >
<xmlgrd:DataGrid.Columns>
<xmlgrd:DataGridTextColumn Header="Name" Width="200" Binding="{Binding name}" AllowSearching="True" ShowFilter="True" AllowSorting="True" AllowGrouping="True" />
<xmlgrd:DataGridTextColumn Header="Age" Width="100" Binding="{Binding age}" AllowSearching="True" ShowFilter="True" AllowSorting="True" AllowGrouping="True"/>
<xmlgrd:DataGridTextColumn Header="Date" Width="100" Binding="{Binding Date}" AllowSearching="True" ShowFilter="True" AllowSorting="True" AllowGrouping="True"/>
<xmlgrd:DataGridTextColumn Header="Salary" Width="100" Binding="{Binding salary}" AllowSearching="True" ShowFilter="True" AllowSorting="True" AllowGrouping="True"/>
</xmlgrd:DataGrid.Columns>
</xmlgrd:DataGrid>

Searchkeyword.ItemsSource = dtSerachKeyword.DefaultView;

Please tell me error?




Responses

Posted by: Vuyiswamb on: 3/1/2011 [Member] [MVP] [Administrator] NotApplicable | Points: 25

Up
0
Down
i am not sure if we can help with Component-Art, i normally use Telerik . But most third-party controls have the built in sorting and filtering functionality built in. what you need to do is to bind the control with data.
http://www.componentart.com/community/forums/

Thank you for posting at Dotnetfunda
[Administrator]

Vikas227, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response