Hello,
Try this approach for now.
1.
procedure TMainForm.UniFormCreate(Sender: TObject);
begin
with UniDBGrid1.JSInterface do
begin
JSAddListener('focusenter', 'function(me){ajaxRequest(me, "focusenter", [])}');
JSAddListener('focusleave', 'function(me){ajaxRequest(me, "focusleave", [])}');
end;
end;
2.
procedure TMainForm.UniDBGrid1AjaxEvent(Sender: TComponent; EventName: string;
Params: TUniStrings);
begin
if EventName = 'focusenter' then
begin
//
end
else if EventName = 'focusleave' then
begin
//
end;
end;
We will try to add this in the next builds.