This question is locked. New answers and comments are not allowed.
hi! can you help me with this one?
i have a datagrid with 2 columns: a checkbox and a string binded to a datamember.
when i check the header checkbox, it should check all checkboxes on each rows.
i want to delete the checked rows... how can i do that?
here's my code:
//xaml
//.cs
i badly needed this one. please reply. Y_Y
i have a datagrid with 2 columns: a checkbox and a string binded to a datamember.
when i check the header checkbox, it should check all checkboxes on each rows.
i want to delete the checked rows... how can i do that?
here's my code:
//xaml
<telerik:RadGridView Name="GridView_List" GIsFilteringAllowed="False" AutoGenerateColumns="False" SelectionMode="Extended"> <telerik:RadGridView.Columns> <telerik:GridViewSelectColumn /> <telerik:GridViewDataColumn Header="Gridview Style" DataMemberBinding="{Binding FilterName}"/> </telerik:RadGridView.Columns></telerik:RadGridView> //.cs
namespace ReportsUIScreens{ public partial class GridviewSetting_List : ChildWindow { private List<filterHistory> histList; public GridviewSetting_List(List<filterHistory> histListLink) { InitializeComponent(); histList = histListLink; this.GridView_List.ItemsSource=histList; } private void DeleteButton_Click(object sender, System.Windows.RoutedEventArgs e) { //here's where i want to delete the checked row(s) } }}i badly needed this one. please reply. Y_Y