[PATCH] TDBGrid get editor alignment from wrong column if FixedCells>1
Original Reporter info from Mantis: luca @olivluca
-
Reporter name: Luca Olivetti
Original Reporter info from Mantis: luca @olivluca
- Reporter name: Luca Olivetti
Description:
In a TDBGrid with the option dgIndicator on, settings FixedCells to, e.g., 2 (so that the indicator column and the first data column are fixed), the alignment for the editor is taken from the wrong column.
In the example project, there are 3 column, the first one is fixed, the second is right aligned and the third is left aligned.
If you enter the cell of the 3rd field it is right aligned (it got the alignment from the second column).
The patch seems to fix the issue but I'm not sure it's the best solution (the grids are soooo complex).
The checkbox in the project is to show another but I'm reporting next.
Mantis conversion info:
- Mantis ID: 35715
- Version: 2.0.2
- Fixed in revision: r62847 (#ff5b89a4)