Recent

Author Topic: TdxDBGridController and OnDrawColumnTitle override on multi-line Titles  (Read 952 times)

FrankBKK

  • New Member
  • *
  • Posts: 34
I found TdxDBGridController to be very useful designing DBGrids with a nice layout and good search functionality.

On a normal DBGrid without an attached grid controller and property dbGrid.Columns.Title.MultiLine := True
   dbGrid.Columns[2].Title.Caption := 'Test1' + LineEnding + 'Test2' ;
shows the Title on two lines as expected.

However when using the TdxDBGridController this is ignored.

Is there another way to get multi line titles while using TdxDBGridController ?


rnervi

  • New Member
  • *
  • Posts: 14
I found this component too very intersting and - from demo - sounds like powerfull.
But I cannot understand how to use a mini tutorial stepbystep "how to start in an empty project" will be usefull (or in alternative just a mini project with 1 form, 1 grid and this component linked at) !

anyone has ideas about ?

(rxdbgrid does a nice incremental search.....)
« Last Edit: May 31, 2024, 05:54:24 pm by rnervi »

five

  • New Member
  • *
  • Posts: 17
You can find a demo project with one form + one grid on this link :https://gitlab.com/lazaruscomponent/dbgridcontroller/-/tree/master/demo
« Last Edit: June 06, 2024, 09:38:30 pm by five »

five

  • New Member
  • *
  • Posts: 17
I found TdxDBGridController to be very useful designing DBGrids with a nice layout and good search functionality.

On a normal DBGrid without an attached grid controller and property dbGrid.Columns.Title.MultiLine := True
   dbGrid.Columns[2].Title.Caption := 'Test1' + LineEnding + 'Test2' ;
shows the Title on two lines as expected.

However when using the TdxDBGridController this is ignored.

Is there another way to get multi line titles while using TdxDBGridController ?

I will add this feature on the next release. Thank you for your comment on this component. Next release bugFix + New features.
« Last Edit: June 06, 2024, 10:03:08 pm by five »

 

TinyPortal © 2005-2018