Skip to main content
Solved

adding filter settings to a form.

  • February 14, 2023
  • 5 replies
  • 699 views

Michael Ndungi
Varsity I
Forum|alt.badge.img

hello everyone,

kindly assist, would like to add filter settings on the form below in the specified area.

this will enable me to save my filters and also share the filters.

 

filter settings:

 

 

kindly assist please

Best answer by andriikravetskyi35

Hello,

you need add PXFilterable attribute to the View object, like this:


        [PXFilterable]
        public SelectFrom<INCompliance>

.Where<INCompliance.inventoryID.IsEqual<InventoryItem.inventoryID.FromCurrent»

.View ComplianceView;

View original
Did this topic help you find an answer to your question?

5 replies

andriikravetskyi35
Jr Varsity I
Forum|alt.badge.img+1

Hello,

you need add PXFilterable attribute to the View object, like this:


        [PXFilterable]
        public SelectFrom<INCompliance>

.Where<INCompliance.inventoryID.IsEqual<InventoryItem.inventoryID.FromCurrent»

.View ComplianceView;


Michael Ndungi
Varsity I
Forum|alt.badge.img
andriikravetskyi35 wrote:

Hello,

you need add PXFilterable attribute to the View object, like this:


        [PXFilterable]
        public SelectFrom<INCompliance>

.Where<INCompliance.inventoryID.IsEqual<InventoryItem.inventoryID.FromCurrent»

.View ComplianceView;

 

 

Sorry, where exactly should I add this?


Naveen Boga
Captain II
Forum|alt.badge.img+19
  • Captain II
  • 3399 replies
  • February 14, 2023

Hi @development93  In your screen GRID VIEW should be decorated with [PXFilterable] like below.

 

 [PXFilterable]

public PXSelect<GRIDDAC> ViewName;


andriikravetskyi35
Jr Varsity I
Forum|alt.badge.img+1

Michael Ndungi
Varsity I
Forum|alt.badge.img

Thank you all, Everyone here’s right.✅


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings