Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

DBGrid How to hide Titles row and Indicator column?

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?

like image 656
user2383818 Avatar asked Mar 18 '23 18:03

user2383818


1 Answers

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];
like image 193
Ken White Avatar answered Apr 02 '23 11:04

Ken White