4 Answers, 1 is accepted
0
Accepted
Hello Matt,
You can clear the FilterDescriptors collection of RadGridView:
I hope it helps.
Best regards,
Alexander
the Telerik team
You can clear the FilterDescriptors collection of RadGridView:
this
.radGridView1.FilterDescriptors.Clear();
I hope it helps.
Best regards,
Alexander
the Telerik team
Q2’11 SP1 of RadControls for WinForms is available for download (see what's new); also available is the Q3'11 Roadmap for Telerik Windows Forms controls.
0
Deasun
Top achievements
Rank 3
Bronze
Bronze
Bronze
answered on 01 Jul 2019, 02:05 PM
I just noticed that after doing this;
this.radGridView1.FilterDescriptors.Clear();
if the focus is still in the filter value box it does not seem to clear that value out.
Even though the grid rows itself does seem to return the full non filter rows.
0
Hello Deasun,
You need to make sure that the grid is not in edit mode when this is done:
I hope this helps. Should you have any other questions, do not hesitate to ask.
Regards,
Dimitar
Progress Telerik
You need to make sure that the grid is not in edit mode when this is done:
if
(radGridView1.IsInEditMode)
{
radGridView1.EndEdit();
}
radGridView1.FilterDescriptors.Clear();
I hope this helps. Should you have any other questions, do not hesitate to ask.
Dimitar
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Deasun
Top achievements
Rank 3
Bronze
Bronze
Bronze
answered on 02 Jul 2019, 03:27 PM
Thanks.