Dinkin Posted November 16, 2023 Share Posted November 16, 2023 Добрый день. Можно немного пояснить с работой с TUniDBTreeGrid. Не могу понять как строить сами ветки, указал в полях IdField и IdParentField, данные получаю, но подветки не отображаются. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted November 16, 2023 Share Posted November 16, 2023 Добрый день, Ну, для начала посмотрите демо пример ) \FMSoft\Framework\uniGUI\Demos\Desktop\Grid - DBTreeGrid Quote Link to comment Share on other sites More sharing options...
Dinkin Posted November 16, 2023 Author Share Posted November 16, 2023 Первым делом посмотрел 🙂. Возможно я что то упустил, так как смотрю проекты в блокноте (нет компилятора под Delphi). У меня запрос возвращает три строчки... id | parent_id | name 1 -1 Задача 1 2 -1 Задача 2 3 2 Подзадача 2.1 Quote Link to comment Share on other sites More sharing options...
Dinkin Posted November 16, 2023 Author Share Posted November 16, 2023 Дело было в первой колонке "id", она была не видима (типа я так скрываю для пользователя ненужную колонку с id колонкой) 😶 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.