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

3 comments
Best reply

Aren Jan Hollero,

This could easily be done with no code using a QuickFilter component. Select "Custom" for the filter type and it will show as a checkbox. 

Ryan

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. 

Aren Jan Hollero,

This could easily be done with no code using a QuickFilter component. Select "Custom" for the filter type and it will show as a checkbox. 

Ryan

Show all comments