Hi, is there any problem with FetchRows property and cxGrid?
When I link to a cxGrid, the count of records returned are not the same of FetchRows property. I'm using TUniQuery.
If I use standard DbGrid the property FetchRows works fine!
In this table, there is about 4000 records, I'd like to retrieve only 25/30 records!
Thanks
CxGrid and FetchRows problem
Re: CxGrid and FetchRows problem
Hello,
By default, TCxGrid reads out all records from the table independently on our FetchAll option, to change this behaviour, you should set the GridMode property to True
cxGrid1DBTableView1.DataController.DataModeController.GridMode := True;
By default, TCxGrid reads out all records from the table independently on our FetchAll option, to change this behaviour, you should set the GridMode property to True
cxGrid1DBTableView1.DataController.DataModeController.GridMode := True;
-
rrcanalista
- Posts: 12
- Joined: Mon 06 Feb 2012 20:53
Re: CxGrid and FetchRows problem
Hi, thanks, it worked partially, When a Set Fetch to 10, the record count is 70. Example
FetchRows Records Count
10 70
20 80
but this tip was helpful, thanks
FetchRows Records Count
10 70
20 80
but this tip was helpful, thanks
Re: CxGrid and FetchRows problem
hello,
Try setting the GridModeBufferCount property to the value that you have set for our FetchRows property
cxGrid1DBTableView1.DataController.DataModeController.GridModeBufferCount := UniQuery.FetchRows;
Try setting the GridModeBufferCount property to the value that you have set for our FetchRows property
cxGrid1DBTableView1.DataController.DataModeController.GridModeBufferCount := UniQuery.FetchRows;
-
rrcanalista
- Posts: 12
- Joined: Mon 06 Feb 2012 20:53
Re: CxGrid and FetchRows problem (resolved)
Thanks a lot. Reply very fast and efficient.
Re: CxGrid and FetchRows problem
hello,
If you have any other questions, feel free to contact us.
If you have any other questions, feel free to contact us.