Tokay Posted April 30, 2020 Posted April 30, 2020 I need to change a grid filter with code. I attach an example screnshot (main form of the GridFiltering). I added a test button, and a code in it OnClick: UniEdit1.Text := 'bo'. I run app, push the button, and nothig was happened, filter not applied to the grid. Is it possible to do this kind of filtering? Thank you! Quote
Sherzod Posted April 30, 2020 Posted April 30, 2020 2 hours ago, Tokay said: and a code in it OnClick: UniEdit1.Text := 'bo'. I run app, push the button, and nothig was happened procedure TMainForm.UniButton2Click(Sender: TObject); begin UniEdit1.Text := 'bo'; UniEdit1.OnChange(UniEdit1); end; Quote
Tokay Posted May 1, 2020 Author Posted May 1, 2020 Hmmm Simple, obvious and correct solution, thank you! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.