Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Free Pascal
»
Database
(Moderators:
FPK
,
Tomas Hajny
) »
SQLite and DBGrid, when updated DataSet grid displays nothing
Free Pascal
Website
Downloads
Wiki
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Bugtracker
IRC channel
Latest SVN
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
[LAMW] jNotificationManag...
by
Segator
[
Today
at 05:00:51 pm]
linux x64 assembler
by
Key-Real
[
Today
at 05:00:45 pm]
Linux messagebox
by
Handoko
[
Today
at 04:57:37 pm]
WinAPI - examples - post ...
by
440bx
[
Today
at 04:57:12 pm]
LAMW - Linux Installation...
by
Handoko
[
Today
at 04:53:21 pm]
Tchart Log10 transformati...
by
flori
[
Today
at 04:41:13 pm]
[LAMW] is it possible sen...
by
Segator
[
Today
at 04:29:53 pm]
converting C++ over laz, ...
by
jamie
[
Today
at 04:19:26 pm]
FPC on Rasp Pi, non Lazar...
by
AlanTheBeast
[
Today
at 03:42:50 pm]
More componenets.
by
Handoko
[
Today
at 03:32:15 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: SQLite and DBGrid, when updated DataSet grid displays nothing (Read 2805 times)
lainz
Hero Member
Posts: 3957
Leandro Diaz
SQLite and DBGrid, when updated DataSet grid displays nothing
«
on:
December 21, 2018, 11:33:06 pm »
Hi, I have a DBGrid with a DataSource and a DataSet, the normal setup. It's displayed correctly until my application downloads from an API an update to the table in the DataSet and reloads it. The grid is not functional anymore.
Is strange because I have another DBGrid and is working fine. Someone had this problem before, I readed this:
https://forum.lazarus.freepascal.org/index.php?topic=40899.0
But did not help me at all.
Any setting, any special case when this is not working?
Logged
https://lainz.github.io/
- My Website
https://lazpaint.github.io/
- Download LazPaint
Soner
Full Member
Posts: 212
Re: SQLite and DBGrid, when updated DataSet grid displays nothing
«
Reply #1 on:
December 24, 2018, 04:56:52 pm »
Try this:
Dataset.disablecotrols;
Try
//... Download, import
finally
Dataset.EnableControls;
End;
Logged
lainz
Hero Member
Posts: 3957
Leandro Diaz
Re: SQLite and DBGrid, when updated DataSet grid displays nothing
«
Reply #2 on:
December 26, 2018, 11:56:15 pm »
Thanks. Unfortunately our code already uses that technique with the bad result I described.
Logged
https://lainz.github.io/
- My Website
https://lazpaint.github.io/
- Download LazPaint
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Free Pascal
»
Database
(Moderators:
FPK
,
Tomas Hajny
) »
SQLite and DBGrid, when updated DataSet grid displays nothing
TinyPortal
© 2005-2018