kamuranalpkaya@gmail.com Posted June 1, 2016 Share Posted June 1, 2016 s.a. unidbgrid ondblclick olayı grid boş iken çalışmıyor. veri varken çalışıyor.grid boş iken doubleclick olayını çalıştırma imkanı varmı? hayırlı günler Quote Link to comment Share on other sites More sharing options...
Sherzod Posted June 1, 2016 Share Posted June 1, 2016 Hi, For now can you try this ?!: UniDBGrid1 -> ClientEvents -> ExtEvents ... function dblclick(sender, eOpts) { if (sender.getStore().count() == 0) { ajaxRequest(sender, 'dblClick', []); } } procedure TMainForm.UniDBGrid1AjaxEvent(Sender: TComponent; EventName: string; Params: TUniStrings); begin if EventName = 'dblClick' then UniDBGrid1DblClick(Sender); end; procedure TMainForm.UniDBGrid1DblClick(Sender: TObject); begin ShowMessage('dblClick'); end; Best regards. 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.