I found the code that is responsible for drawing the 'indicator' in Grid but it needs to get to the code of the column on which the 'indicator' is drawn
The indicator is the small triangle in front of the focused row. Still I'm not sure if I' understood the question. It is drawn to the first fixed column.
yes, it is about the "narrow space" on which the indicator is drawn. How to manipulate this space - where is it defined in Grid?
Quoteyes, it is about the "narrow space" on which the indicator is drawn. How to manipulate this space - where is it defined in Grid?You should subclass TDBGrid or write a class helper, but if you're lazy just copy DBGrid.pas from $(LazarusDir)\lcl folder to your project directory and change the line(see screenshot), or do whatever modifications are necessary.