CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

iwcgjqgrid footer row and memtable.

General discussion

by hsbelli72 » 15 May 2014 23:15

hi, how show a FooterRow in my iwcgjqgrid when the datasetprovider use a memtable (Tkbmemtable) not a query. all example in your demo use a event

procedure GridDataSetProviderGetColSummaries(Sender: TObject;
var ANames: TIWCGJQStrArray; var AValues: TIWCGJQVarArray);

but use a query. i need a example use memtable or any suggestion please..

regards
hsbelli72
 
Posts: 297
Joined: 14 Mar 2013 18:10

by Jorge Sousa » 15 May 2014 23:23

hi

you just have to do something like this

for i:= 0 to Length(ANames)-1 do
begin
Name:= ANames[i];
if Name = 'myCol1' then
AValues[i]:= someval
else....
end;
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58

by hsbelli72 » 16 May 2014 13:05

hi, run ok.. thank you very much!.

regards
hsbelli72
 
Posts: 297
Joined: 14 Mar 2013 18:10


Return to General - Archive

Who is online

Users browsing this forum: No registered users and 6 guests

Contact Us.