The PostData page refers to the webaction waScrollGridExecute to let
the grid scroll after a button click. As you can see below, it
extracts its command from the button name. So you'll have to create
some logic in this webaction to parse the specific command to the
ItemsDBGrid depending on the name of the literal btnshop, which
contains the name of the button clicked.
procedure TfmAppPanel.waScrollGridExecute(Sender: TObject);
var
a1,a2:string;
begin
inherited;
with TWebAction(Sender).WebApp do begin
SplitString(Literal['BtnShop'],' ',a1,a2); // e.g. Next Page
{Insert some translation from spanish buttonname to gridcommand
here..}
DMStore.ShowItemsdbgrid2.Command:=a1; // e.g. Next end;
end;