donlego Posted March 4, 2018 Share Posted March 4, 2018 hello i try to add keydown on unidbgrid extevent function keydown(e, t, eOpts){ if (e.getKey() == 13) { alert('a'); ajaxRequest(sender, 'customEvent', { name: sender.text, width: sender.getWidth() } ); }} and in my delphi procedure TFrmPost.gridAjaxEvent(Sender: TComponent; EventName: string; Params: TUniStrings);begin inherited; if SameText(EventName, 'customevent') then begin ShowMessage(Params['name'].AsString + ' ' + Params['width'].AsString); end;end; the alert from extevent is show, but the event is nothing can i catch, for the spesifik i want on my grid if i press enter and if grid colum title =a then show_a; if grid colum title =b then show_b; how to catch ajax even and the grid column position/current col/index/title from extevent and call it from delphi ? unigui version : profesional edition v.1.0.0.1424 (trial) thanks Quote Link to comment Share on other sites More sharing options...
geison.shida Posted May 8, 2018 Share Posted May 8, 2018 Hi,I have the same problem, did you solve? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted May 8, 2018 Share Posted May 8, 2018 Hi, Can you explain in more detail? What problem do you have? Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted May 9, 2018 Administrators Share Posted May 9, 2018 Parameter sender isn't defined Sent from my SM-N950F using Tapatalk Quote Link to comment Share on other sites More sharing options...
gh4d1@yahoo.com Posted May 14, 2021 Share Posted May 14, 2021 Have you ever try onkeydown in TuniStringGrid? Thanks for help gh4d1@yahoo.com 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.