OlegTimkiv Posted January 15, 2019 Share Posted January 15, 2019 Здравствуйте. Подскажите пожалуйста, как реализовать такое? procedure TMainForm.UniDBTreeGrid1CellClick(Column: TUniDBGridColumn); begin if "Row.childNodes = 0" then ShowMessage('clicked'); end; Quote Link to comment Share on other sites More sharing options...
Sherzod Posted January 15, 2019 Share Posted January 15, 2019 13 minutes ago, OlegTimkiv said: procedure TMainForm.UniDBTreeGrid1CellClick(Column: TUniDBGridColumn); begin if "Row.childNodes = 0" then ShowMessage('clicked'); end; Здравствуйте, Попробуйте: function cellclick(sender, td, cellIndex, record, tr, rowIndex, e, eOpts) { if (!record.hasChildNodes()) { ajaxRequest(...); } } 1 Quote Link to comment Share on other sites More sharing options...
OlegTimkiv Posted January 15, 2019 Author Share Posted January 15, 2019 Огромное Вам спасибо. Работает! 1 Quote Link to comment Share on other sites More sharing options...
Sherzod Posted January 15, 2019 Share Posted January 15, 2019 Пожалуйста! Quote Link to comment Share on other sites More sharing options...
kkelchev Posted April 17, 2019 Share Posted April 17, 2019 Cпасибо ;) Quote Link to comment Share on other sites More sharing options...
kkelchev Posted April 18, 2019 Share Posted April 18, 2019 Было бы здорово, если бы событие добавлено в UniDBTreeGrid1 как Event 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.