BoldDeskPremium customer service software with affordable pricing: $10 for 3 agents. Try it for free.
this.grid.Binder.InternalColumns["chkCol"].StyleInfo.TextMargins.Left = this.grid.Model.ColWidths["chkCol"] - 20;
If you have added GridBoundColumns, use grid.GridBoundColumns instead of grid.Binder.InternalColumns.
GridControl1(mRows, 2).TextAlign = GridTextAlign.Right;
GridControl1(mRows, 2).HorizontalAlignment = GridHorizontalAlignment.Right;
// optionally - in case you want to increase space between description text and checker
GridControl1(mRows, 2).TextMargis.Right = 5;
Stefan
>Hi Clay,
>
>I find the object model unweildly and I don''t understand what your proposing. I am loading a grid with data at runtime in unbound mode. I get to a cell I''d like to put a checkbox in as follows:
>GridControl1(mRows, 2).Description = "OK"
>GridControl1(mRows, 2).CellType = "CheckBox"
>GridControl1(mRows, 2).CellValue = False
>How can I tell this checkbox to have the box itself on the right hand side of the description?
>Thanks!