9223000 Posted March 31, 2018 Share Posted March 31, 2018 Hello! How to activate cell editing in UniBGrid? The cell is activated for editing if the user "Press Enter" or "mouse left button double clicks" How can one of these events be implemented programmatically, after WebFocus on UniDBGrid? I'm trying to do this: procedure TMainForm.UniBitBtn1Click(Sender: TObject); begin with UniMainModule.FDQ_regProjectSheets do begin Append; FieldByName('regProject_ID').Value := ParamByName('iProjectID').AsInteger; FieldByName('NameShort').Value := 'New products list'; Post; end; UniDBGrid_ProjectSheets.WebFocus; UniSession.AddJS('$("#'+UniDBGrid_ProjectSheets.JSName+'"'+').dblclick();'); // UniSession.AddJS('$("#'+UniDBGrid_ProjectSheets.JSName+'"'+').trigger(jQuery.Event("keypress", {which: 13}));'); end; Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 1, 2018 Share Posted April 1, 2018 Hello, Can you please specify which version and edition of uniGUI are you using? Quote Link to comment Share on other sites More sharing options...
9223000 Posted April 1, 2018 Author Share Posted April 1, 2018 uniGUI Complete Trial Edition 1.0.0 Build 1424 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.