close all
use cj
thisform.grid1.columncount=-1
thisform.grid1.recordsourcetype=1
thisform.grid1.recordsource='a'
thisform.grid1.column1.readonly=.t.
thisform.grid1.column2.readonly=.t.
thisform.grid1.column3.readonly=.t.
thisform.grid1.column4.readonly=.f.