FILTER A DETAIL WHEN FIELD IS CHANGED (FREEDOM UI)

Good Day,

 

Do you guys know a way to filter a detail when a field is changed? Currently, I'm lost. 

 

 {
           request: "crt.HandleViewModelAttributeChangeRequest",
           handler: async (request, next) => {
 
             if (request.attributeName === "PDS_UsrShowClosedLocations_l52gmkf" && !request.silent) {
 
 
  const location = await request.$context.GridDetail_nqtzxp1;
 
  	  if (location) {
             /* filtration for detail here */
      }
 
   }
 
}

 

 

Like 0

Like

2 comments

Hi Aren, 

What exactly are you filtering? Can you provide more details with screenshot? 

Hi Yevhenii,

 

I am trying to filter a detail based on the location status open/close when the user checks the Show closed location checkbox. 

Show all comments