Changing grid cell backcolor not working

You can hijack the row rules to get more colors. Use the wizard to make the row rule, then change the code it give you. I’ve done it with the help of someone who posted it here, but now I can’t seem to find it… You end up getting errors when open the customization, but you can ignore them. Here’s a code snippet for what I used. There might be something else you have to do, but I can’t remember at the moment.

	private void CreateRowRuleV_PackOrNotUpdate2_1ViewUD08_ShortChar02Equals_P()
	{
		// Description: Pack
		// **** begin autogenerated code ****
		ControlSettings PackGreen = new ControlSettings();
		PackGreen.BackColor = System.Drawing.Color.LawnGreen;

		RuleAction okV_PackOrNotUpdate2_1View_RowAction = RuleAction.AddRowSettings(this.oTrans, "V_PackOrNotUpdateable_1View", true, PackGreen);
		RuleAction[] ruleActions = new RuleAction[] {
				okV_PackOrNotUpdate2_1View_RowAction};
		// Create RowRule and add to the EpiDataView.
		RowRule rrCreateRowRuleV_PackOrNotUpdate2_1ViewUD08_ShortChar02Equals_P = new RowRule("V_PackOrNotUpdateable_1View.UD08_ShortChar02", RuleCondition.Equals, "P", ruleActions);
		((EpiDataView)(this.oTrans.EpiDataViews["V_PackOrNotUpdateable_1View"])).AddRowRule(rrCreateRowRuleV_PackOrNotUpdate2_1ViewUD08_ShortChar02Equals_P);
		// **** end autogenerated code ****
	}

edit: Here’s the original post: