gerardocrisci Posted April 18, 2020 Share Posted April 18, 2020 seems to repeat the first 25 records You can control? Grazie Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted April 18, 2020 Administrators Share Posted April 18, 2020 Confirmed! Quote Link to comment Share on other sites More sharing options...
gerardocrisci Posted April 18, 2020 Author Share 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 Link to comment Share on other sites More sharing options...
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.