Serg Posted June 27, 2021 Share Posted June 27, 2021 Добрый день! Возможно ли отключить выделение текущей записи в UniDBGrid? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted June 27, 2021 Share Posted June 27, 2021 12 minutes ago, Serg said: Возможно ли отключить выделение текущей записи в UniDBGrid? Здравствуйте, Простите, что Вы имеете в виду? Quote Link to comment Share on other sites More sharing options...
Serg Posted June 27, 2021 Author Share Posted June 27, 2021 Отключить выделение выбранной ячейки Quote Link to comment Share on other sites More sharing options...
Sherzod Posted June 27, 2021 Share Posted June 27, 2021 2 minutes ago, Serg said: Отключить выделение выбранной ячейки Простите, я не очень понимаю... Quote Link to comment Share on other sites More sharing options...
likemike Posted June 28, 2021 Share Posted June 28, 2021 This may help: Quote Link to comment Share on other sites More sharing options...
x11 Posted June 30, 2021 Share Posted June 30, 2021 On 6/27/2021 at 9:56 PM, Sherzod said: Простите, я не очень понимаю... Наверное, это означает программно снять выделение (Selected) с конкретных записей. Quote Link to comment Share on other sites More sharing options...
Serg Posted July 1, 2021 Author Share Posted July 1, 2021 Нет. Не показывать закрашенный другим цветом прямоугольник выбранной ячейки. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted July 1, 2021 Share Posted July 1, 2021 15 minutes ago, Serg said: Не показывать закрашенный другим цветом прямоугольник выбранной ячейки. Можете привести скриншот и отметить? Quote Link to comment Share on other sites More sharing options...
x11 Posted July 2, 2021 Share Posted July 2, 2021 23 hours ago, Serg said: Нет. Не показывать закрашенный другим цветом прямоугольник выбранной ячейки. Странное желание чтобы пользователь не мог видеть, что он выбрал? и совет выше не помог? Quote Link to comment Share on other sites More sharing options...
Serg Posted July 12, 2021 Author Share Posted July 12, 2021 Quote Link to comment Share on other sites More sharing options...
Sherzod Posted July 12, 2021 Share Posted July 12, 2021 41 minutes ago, Serg said: Здравствуйте, Вижу что вопрос не решен? Вы хотите полностью отключить выделение записей? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted July 12, 2021 Share Posted July 12, 2021 48 minutes ago, Serg said: procedure TMainForm.UniFormCreate(Sender: TObject); begin with UniDBGrid1 do begin Options := Options + [dgDontShowSelected]; JSInterface.JSConfig('disableSelection', [True]); end; end; ? Quote Link to comment Share on other sites More sharing options...
Serg Posted July 12, 2021 Author Share Posted July 12, 2021 Спасибо! Quote Link to comment Share on other sites More sharing options...
Sherzod Posted July 12, 2021 Share Posted July 12, 2021 Помогло? Quote Link to comment Share on other sites More sharing options...
Serg Posted July 14, 2021 Author Share Posted July 14, 2021 Добрый вечер! Не работает. Но спасибо. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted July 15, 2021 Share Posted July 15, 2021 Здравствуйте, Ну тогда, пожалуйста, уточните ещё раз Ваш случай. Quote Link to comment Share on other sites More sharing options...
Serg Posted July 16, 2021 Author Share Posted July 16, 2021 Добрый день! Необходимо выводить данные UniDBGrid в виде справочной информации - просто список. Не нужно выделять текущую или выбранную запись. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted July 16, 2021 Share Posted July 16, 2021 Добрый день, 3 minutes ago, Serg said: Необходимо выводить данные UniDBGrid в виде справочной информации - просто список. Не нужно выделять текущую или выбранную запись. On 7/12/2021 at 11:21 PM, Sherzod said: procedure TMainForm.UniFormCreate(Sender: TObject); begin with UniDBGrid1 do begin Options := Options + [dgDontShowSelected]; JSInterface.JSConfig('disableSelection', [True]); end; end; Чем не устраивает решение? Quote Link to comment Share on other sites More sharing options...
Serg Posted July 17, 2021 Author Share Posted July 17, 2021 Тем что ничего не меняется) Quote Link to comment Share on other sites More sharing options...
Sherzod Posted July 17, 2021 Share Posted July 17, 2021 17 minutes ago, Serg said: Тем что ничего не меняется) Testcase? 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.