gerardocrisci Posted April 18, 2020 Posted April 18, 2020 seems to repeat the first 25 records You can control? Grazie Quote
Administrators Farshad Mohajeri Posted April 18, 2020 Administrators Posted April 18, 2020 Confirmed! Quote
gerardocrisci Posted April 18, 2020 Author Posted April 18, 2020 In the meantime .. I put a patch like this procedure TUniCustomDBGrid.JSEventHandler(AEventName: string; AParams: TUniStrings); var AStart, APage, ALimit : Integer; begin inherited; if AEventName = UNI_DATA_EVENT then begin if not (dgPersistentSelection in FOptions) then FBookmarks.Clear; if FDelayBeboreLoad and FFirstLoad then Sleep(500); FFirstLoad := False; ALimit:=AParams['limit'].AsInteger; if FBufferedStore.FEnabled then begin APage :=StrToIntDef(AParams['page'].AsString, 1)-1; AStart := APage*ALimit; end else AStart := StrToIntDef(AParams['start'].AsString, -1); HandleData( AStart, AParams['limit'].AsInteger, AParams['options'].AsInteger, AParams['sort'].AsString, AParams['group'].AsString ); end; end; 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.