Hello! I have a scenario in which i have a dropdownlist (in a column) with enum-values for filtering. The data that gets sent to the grid only contains items whose order status is of the UsefulUiValue variety, but since the property OrderStatus is MyEnum, all of the enum values are added to the filter-dropdown for the column. Is there any way to tell the filter or the grid to only take the enum values i want?
01.public enum MyEnum02.{03. UsefulUiValue1, //Useful for filtering in the grid04. UsefulUiValue2, //Useful for filtering in the grid05. UsefulUiValue3, //Useful for filtering in the grid06. Value4, //Not useful for filtering in the grid (should be excluded from dropdown filter)07. Value5, //Not useful for filtering in the grid (should be excluded from dropdown filter)08.}09. 10.public class MyClass11.{12. public MyEnum OrderStatus { get; set; }13. public DateTime OrderDate { get; set; }14. public decimal OrderSum { get; set; }15.}