开发者

How to disable a CheckBox column in a DBGrid

How to disable or readonly a ch开发者_运维技巧eckbox column in a DBGrid. I'm using wwDbGrid and EditControl option.


I am not familiar with the component but did you try something like:

wwDBGrid.Columns[1].ReadOnly:=True;


Try to set as readonly the TField that is binded with the checkbox column

You can do it through the Grid component

TwwDBGrid(Sender).ColumnByName(FieldName).ReadOnly := True;

or through the dataset's TField

TField.ReadOnly := True;
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜