Board index » delphi » How Can I Fix Columns in DBGrid ?

How Can I Fix Columns in DBGrid ?

There is 'fixedCol' property in TDrawGrid & TStringGrid but in TDBGrid

I want a property or method for fixing columns in DBGrid

Please Help me

Have Nice Day !

S.J. Kim sj...@ditco.com

 

Re:How Can I Fix Columns in DBGrid ?


In article <01bc22e8$9fb186a0$a401e...@nuri.net.hansoop.daelim.co.kr>,
sj...@DITCO.COM says...

Quote

>There is 'fixedCol' property in TDrawGrid & TStringGrid but in TDBGrid

>I want a property or method for fixing columns in DBGrid

Try setting the field in the table to read only. To get the different display
of the field you will probably have to use the onDrawColumnCell or
onDrawDataCell (if delphi 2).

Klint.

Other Threads