How to load data of grid with condition

I have a grid. I would like to filter data by the condition when the grid initialization.
Please help me. Thanks

context and model are filter friends

Hi @siddique. Sorry, I don’t understand clearly.
Let’s say I have two models [A (id, model C), B (id, model C)] and they don’t have a direct relationship. but they are indirectly connected through model C (id, name).
In the view of model A, I want to display the view of model B with condition that A.model = B.model
How can I do that?
Please help me. Thanks.

I will share details later, but panel related can be used

1 « J'aime »

Hello @Lien
You can also use a custom report view.