DBGrid control dislays only one row of data
Original Reporter info from Mantis: tsapi
-
Reporter name: Tsvetoslav
Original Reporter info from Mantis: tsapi
- Reporter name: Tsvetoslav
Description:
The DBGrid control displays a single row of data, even if the linked data set contains multiple records.
Found on Linux Linux x86_64 (Q4OS 1.8) with current fpc 3.0.2 and Lazarus from trunk.
Steps to reproduce:
Create a new GUI application and add a DBGrid and a Button controls, a DataSource and a MemDataset components. Link the DBGrid to the DataSource and and the DataSource to the MemDataset. Add 2-3 columns to the MemDataset, and in Button's OnClick event add code to append a few records to the dataset. Compile, run and press the button. Only one row is dipalyed on the grid.
Mantis conversion info:
- Mantis ID: 31765
- OS: Q4OS
- OS Build: 1.8
- Build: 54824
- Platform: Linux
- Version: 1.9 (SVN)
- Fixed in revision: 54842 (#2abbee16)