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
3 comments
Best reply
18:31 Jan 31, 2025
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
15:29 Jan 30, 2025
Hi Aren,
What exactly are you filtering? Can you provide more details with screenshot?
15:44 Jan 30, 2025
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.

18:31 Jan 31, 2025
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