dbf_usr Posted February 12, 2021 Share Posted February 12, 2021 Как программно изменить порядок следования колонок в UniDBPivotGrid2.LeftAxis во время выполнения без использования конфигуратора? Quote Link to comment Share on other sites More sharing options...
dbf_usr Posted March 21, 2021 Author Share Posted March 21, 2021 Up Quote Link to comment Share on other sites More sharing options...
dbf_usr Posted May 24, 2021 Author Share Posted May 24, 2021 Up!!!! Кроме того после обновления запроса меняются ширина колонок. Попытки установить вручную ни к чему не приводят. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted May 25, 2021 Share Posted May 25, 2021 On 2/12/2021 at 5:25 PM, dbf_usr said: Как программно изменить порядок следования колонок в UniDBPivotGrid2.LeftAxis во время выполнения без использования конфигуратора? Здравствуйте, Можете протестировать этот код? type THackGrid = class(TUniDBPivotGrid); procedure TMainForm.UniButton1Click(Sender: TObject); begin with UniDBPivotGrid1.LeftAxis.Add do begin FieldName:= 'RATING'; Header:= 'Rating'; end; THackGrid(UniDBPivotGrid1).ConfigMatrix; end; Quote Link to comment Share on other sites More sharing options...
dbf_usr Posted May 28, 2021 Author Share Posted May 28, 2021 On 5/25/2021 at 4:28 PM, Sherzod said: Здравствуйте, Можете протестировать этот код? type THackGrid = class(TUniDBPivotGrid); procedure TMainForm.UniButton1Click(Sender: TObject); begin with UniDBPivotGrid1.LeftAxis.Add do begin FieldName:= 'RATING'; Header:= 'Rating'; end; THackGrid(UniDBPivotGrid1).ConfigMatrix; end; Код работает. Благодарю! При группировка колонок второй ряд колонок не отображается Quote Link to comment Share on other sites More sharing options...
dbf_usr Posted October 27, 2021 Author Share Posted October 27, 2021 On 5/28/2021 at 12:00 PM, dbf_usr said: Код работает. Благодарю! При группировка колонок второй ряд колонок не отображается Нашел у себя ошибку - исправил. Все работает!!!! СПАСИБО!!!!!! 1 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.