Hi O.Germeau ,
You should use OnGetAutoCompleteData event (you can see example in our demo).
At this event, you can add additional properties for item:
delphi code
ItemJSon:= SO();
ItemJSon.I['uid']:= uniqueId; //additional parameter for OnSelect event
ItemJSon.S['value']:= itemValue; //required
ItemJSon.S['label']:= itemCaption; //required
Then, add new browserParam item to event (You can put this code on create or directly in delphi designer):
delphi code
BrowerParam:= IWCGJQAutoComplete.JQAutoCompleteOptions.OnSelect.BrowserParams.Add;
BrowerParam.ServerName:= 'myuid';
BrowerParam.BrowserScript:= 'ui.item.uid';
Last thing what you need to do, get this param inside OnSelect event:
delphi code
MyUID:= StrToInt(AParams.Values['myuid']);
Best Regards.