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
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
Forum Rules
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
The Future of FPC
by
n7800
[
Today
at 01:27:39 pm]
Debian removes FPC/Lazaru...
by
robert rozee
[
Today
at 01:24:02 pm]
[SOLVED] TFPGObjectList s...
by
Phoenix
[
Today
at 12:46:42 pm]
Article “Lazarus vs Delph...
by
eny
[
Today
at 12:41:36 pm]
LPC & API
by
Petrus Vorster
[
Today
at 11:56:21 am]
ThorVG - test (lightweigh...
by
BildatBoffin
[
Today
at 11:55:53 am]
[SOLVED] How to disable a...
by
Zvoni
[
Today
at 11:50:40 am]
Keyboard hook - platform ...
by
cdbc
[
Today
at 11:41:17 am]
Free Pascal for a small e...
by
cdbc
[
Today
at 11:35:12 am]
IStreams
by
cdbc
[
Today
at 11:09:34 am]
I want to port my LDL pr...
by
JordanCpp
[
Today
at 10:05:41 am]
Dumping preprocessed work...
by
MarkMLl
[
Today
at 09:29:13 am]
[ANN] PasBuild 1.2.0 Rele...
by
VisualLab
[
Today
at 09:26:03 am]
Star Trek playing cards a...
by
TBMan
[February 08, 2026, 10:02:47 pm]
it2play - IT/S3M module r...
by
Lulu
[February 08, 2026, 09:50:23 pm]
Fast Canvas Library V1.05...
by
backprop
[February 08, 2026, 09:24:18 pm]
Lazaris IDE v4.4 - extrem...
by
CM630
[February 08, 2026, 08:10:36 pm]
How to determine the unkn...
by
CM630
[February 08, 2026, 08:06:39 pm]
Pre-Specialize Generic Fu...
by
MMarie
[February 08, 2026, 08:04:53 pm]
Change colors for Code Ex...
by
TBMan
[February 08, 2026, 07:37:40 pm]
Can we wallgarden this, p...
by
Mobius1
[February 08, 2026, 07:21:06 pm]
Testers needed - Skip met...
by
Martin_fr
[February 08, 2026, 05:10:28 pm]
FPC and Lazarus coding st...
by
Curt Carpenter
[February 08, 2026, 04:10:03 pm]
Status of FPC 3.4.0 or FP...
by
Martin_fr
[February 08, 2026, 11:44:46 am]
Here's how to show colour...
by
Pallzi
[February 08, 2026, 11:19:27 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: SQLite and DBGrid, when updated DataSet grid displays nothing (Read 4099 times)
lainz
Hero Member
Posts: 4740
Web, Desktop & Android developer
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/
Soner
Sr. Member
Posts: 328
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: 4740
Web, Desktop & Android developer
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/
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