EhLib.Com
https://forum.ehlib.com/en/

Lock DbGridEh when is there no data
https://forum.ehlib.com/en/viewtopic.php?f=5&t=1032
Page 1 of 1

Author:  spk2000ar [ 09 Mar 2020, 14:27 ]
Post subject:  Lock DbGridEh when is there no data

Is there a way (dispite showing "no data" as text using emptydatainfo), to lock the grid?
I am using search panel and when you enter text, its filter a unidac query. If there is no data i want to put as disable some buttons on the parent form, and disable grid events (not the search panel, but dblclick event of dbgrideh).
When i set the test in searchpanel on change event, i takes the amount of data prior to applying of the search filter (sort local true, STfilter false, search while typing true).
So i can't do what i want.
Is there an event to use when "no data" info is showing? or a test boolean property for that value?
Thanks you!

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/