Dm_Ufa Posted July 29, 2022 Share Posted July 29, 2022 Как можно редактировать строку в TUniDBTreeGrid сразу после вставки? Сейчас пустая строка не появляется. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted July 29, 2022 Share Posted July 29, 2022 Добрый день, Сперва уточните пожалуйста версию и издание uniGUI? Quote Link to comment Share on other sites More sharing options...
Dm_Ufa Posted July 29, 2022 Author Share Posted July 29, 2022 Добрый день, триальная версия, 1.90.0.1563 Quote Link to comment Share on other sites More sharing options...
Sherzod Posted July 29, 2022 Share Posted July 29, 2022 22 minutes ago, Dm_Ufa said: Как можно редактировать строку в TUniDBTreeGrid сразу после вставки? Сейчас пустая строка не появляется. Какой код Вы используете? Quote Link to comment Share on other sites More sharing options...
Dm_Ufa Posted July 29, 2022 Author Share Posted July 29, 2022 TFDQuery(List).Append; Quote Link to comment Share on other sites More sharing options...
Sherzod Posted July 29, 2022 Share Posted July 29, 2022 14 minutes ago, Dm_Ufa said: TFDQuery(List).Append; Yes, you should use like this: ... Append; FieldByName('ID').AsInteger := NewId; FieldByName('parentID').AsInteger := ParentId; FieldByName('...').AsString := '...'; Post; ... 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.