4

Is there a way to hide the Titles row and the Indicator column on a DBGrid? I couldn't find any property of this kind. Can I do it programmatically?

Ken White
  • 123,280
  • 14
  • 225
  • 444
user2383818
  • 709
  • 1
  • 8
  • 19

1 Answers1

7

Turn off (set to False) the Options.dgTitles and Options.dgIndicator in the Object Inspector, or remove them in code:

DBGrid1.Options := DBGrid1.Options - [dgTitles, dgIndicator];
Ken White
  • 123,280
  • 14
  • 225
  • 444
  • Ken. I'm really an idiot! I knew there was a simple way to do it, but I was looking for a specific property in the Object Inspector. My sinceer appology! – user2383818 Aug 15 '14 at 00:17