Hi All,
Could please share us the steps to add a dropdown list for a screen.
Thank you
Hi All,
Could please share us the steps to add a dropdown list for a screen.
Thank you
Best answer by Nilkanth Dipak
You need to create a custom field with string datatype. then in DAC declaration add a
[PXDBString(10, IsUnicode = true)]
[PXUIField(DisplayName = "Test")]
[PXStringList(
new string[] { "Value1", "Value2", "Value3" },
new string[] { "Description 1", "Description 2", "Description 3" }
)]
public virtual string TestField { get; set; }
attribute to add dropdown values. It will changes your string field to dropdown automatically
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.