The FilterRow Search can be very useful but its kind of ugly and in the way if you dont need it.
Is there a way - by using a checkbox- to turn it off/on at runtime ?
Using a checkbox at runtime to make FilterRow Visible/Invisible
Answers approved by DevExpress Support
Hello,
You can use the <GridView>.FilterRow.Visible property to implement this functionality:
Delphiprocedure TForm1.CheckBox1Click(Sender: TObject);
begin
cxGrid1DBTableView1.FilterRow.Visible := CheckBox1.Checked;
end;
Thanks for you example. It works as expected on my side as well.
In my code - clicking the checkbox does nothing.
Will study your code and get back to you.