Page 1 of 1
Firemonkey stringgrid and Unidac
Posted: Mon 20 Feb 2012 17:51
by gandalf
With livebindings I have connected a stringgrid to a Unidac query (SQLite).
If selecting via mouse a row the selection disappears.
What could be wrong?
Edited:
After additional testing it seems to be caused by setting ShowSelectedCell to false.
Posted: Tue 21 Feb 2012 10:10
by AlexP
hello,
The ShowSelectedCell property responses for highlighting a selected field (white on default). If this property is set to False, the selected field won't be highlighted.
Posted: Tue 21 Feb 2012 10:27
by gandalf
Tested with ShowSelectedCell set to false.
When clicking on a row with a mouse the first time I can see the selected record. After this the selection seems to be disappeared.
Posted: Wed 22 Feb 2012 14:17
by AlexP
hello,
We have checked behaviour of StringGrid, that is related to our UniDAC, at various ShowSelectedCell values (both True and False), all the strings are displayed even after mouse click on them.
Please check this behaviour with the standart Delphi components, for example ADO. If the problem doesn't occur when using the standart components, please send your application sample to alexp*devart*com
Posted: Thu 23 Feb 2012 10:23
by gandalf
Will do that. Thanks!