using BestFitColumn (NxCustomGridControl.pas) with DbGrid doesn't work correct, because you use ... CellValue := GetDrawText(Index, i); ... and for rows outside the visible area the return value is always an empty string (at least in my IDE). So it can't calculate the biggest width correctly if OnlyVisible is set to false and there are more data rows than visible rows and BestFitColumn is called immediately after dataset is activated.
can you check this please?
bug in function BestFitColumn
No replies to this topic
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users