Re: Grid: Fill background colour to 1 column only from row Help
C#
1
Posts
1
Posters
0
Views
1
Watching
-
Currently I have a grid that fills rows a certain color when a certain condition is met (its a Grid from Divelements but similiar to MS) I have tried Divelements forum but Im looking to see what you guys would suggest as the sandgrid has similiar functions as the standard Grid
protected override void DrawRowBackground(Divelements.SandGrid.Rendering.RenderingContext context)
MasterListItem M = this.DataItem as MasterListItem; if (M.Flags == 1) //If MasterListItem is Estimated Full, Partial, Both { context.Graphics.FillRectangle(Brushes.LightYellow, this.Bounds); } //this.Bound base.DrawRowBackground(context);
How do I specify this to only drawRowBackground on 1 specified column instead of the whole row of columns.? any example code?