DoesnotStartswith in a RowRule

C# row rules can i use a DoesNotStartsWith inside of a row rule. if so and Example would i would have a field read only for parts numbers do not start with “QAF”

Use the CustomCondition rule condition.

image

Then in the script editor, modify the function to:

private bool UserUserIDQAF_CustomRuleCondition(Ice.Lib.ExtendedProps.RowRuleDelegateArgs args)
	{
		bool result = false;
		// ** RowRuleDelegateArgs Properties: args.Arg1, args.Arg2, args.Context, args.Row
		// ** put Row Rule condition evaluation logic here
		result = !args.Arg1.ToString().StartsWith("QAF");
		return result;
	}