Page 1 of 1

Setting a Custom Default Filter for "Records to Display" in Table View

Posted: 2025-03-24 03:42
by joshianjvj83
Hi everyone,

I’m looking for a way to set a custom filter in my database so that when a user opens Table A, they only see their own records by default. However, when they access Table B, it should display all records for everyone. additionally, any help on creating other types of custom filter is welcome.

I’d really appreciate any guidance, Thanks in advance for your help!

Re: Setting a Custom Default Filter for "Records to Display" in Table View

Posted: 2025-03-24 06:52
by pbottcher
Hi,

you can have a look at the _init function for each table. Here you can modify the $options->QueryWhere according to you needs.
see e.g. https://forums.appgini.com/phpbb/viewtopic.php?t=5359