Janus Grid
-
Hi All, Is there anyone in here have some sort of expeience with Janus Grid, if you do, can you please read through. This is about format a cell in Janus Grid, such as: GridEXFormatCondition fco = new GridEXFormatCondition( this.gridEX1.RootTable.Columns[4], ConditionOperator.Equal, true); fco.TargetColumn = this.gridEX1.RootTable.Columns[4]; fco.TargetColumn.CellStyle.BackColor = Color.LightYellow; This piece of code formats the back color of whole Columns[4] to light yellow, now what i really want is to format a cell, rather than the whole Columns[4] to light yellow. If someone in here can shed me a light will be great.
-
Hi All, Is there anyone in here have some sort of expeience with Janus Grid, if you do, can you please read through. This is about format a cell in Janus Grid, such as: GridEXFormatCondition fco = new GridEXFormatCondition( this.gridEX1.RootTable.Columns[4], ConditionOperator.Equal, true); fco.TargetColumn = this.gridEX1.RootTable.Columns[4]; fco.TargetColumn.CellStyle.BackColor = Color.LightYellow; This piece of code formats the back color of whole Columns[4] to light yellow, now what i really want is to format a cell, rather than the whole Columns[4] to light yellow. If someone in here can shed me a light will be great.
Dont worry, guys, I already worked it out myself. here is the solutionif anyone come across the same issue next time: basically once the target column be pointed, then the fco applys on that sepcific cell when condition meets: GridEXFormatCondition fco = new GridEXFormatCondition( this.gridEX1.RootTable.Columns[4], ConditionOperator.Equal, true); fco.TargetColumn = this.gridEX1.RootTable.Columns[4]; fco.FormatStyle.BackColor = Color.LightYellow;