I would like to do the following with my StringGrid, I have a register of 100 products, and I would like it to show 10 products at a time, in a kind of infinite loop. Does anyone know how to help me?
I would like to do the following with my StringGrid, I have a register of 100 products, and I would like it to show 10 products at a time, in a kind of infinite loop. Does anyone know how to help me?
Control of fetch
is never done on a grid, regardless of whether it is dataware or not.
The control must be done in dataset
. I assume you should be using FireDAC , so in FecthOptions
, the property Mode
to fmOnDemand
, and property RowsetSize
to 10 . < br>
Otherwise, in AfterGetRecords
of DataSet
event, you may need to increase RowCount
of StringGrid
.
Depending on how you are feeding the data in StringGrid
, you may need some more configuration.
If you have any doubts, post it.