1
Help for ParamQuery Grid (free version) / treeGrid collapse levels that are > 1
« on: November 06, 2018, 06:27:57 pm »
Hello,
I'm using pqGrid with tree. When it initially loads i want to have levels > 1 collapsed and the others opened. For this I want to set the pq_close parameter to 1 when pq_level > 1.
I'm trying to find the right event but the complete event is already too late since it already displays data and the load event is too early because it doesn't have the pq_level parameter yet. Other events that i tried like for example beforeTableView fire too often. I would like the event to fire only at initial load of the grid
Hope this was understandable and would appreciate your help.
Kind regards,
Bernd
I'm using pqGrid with tree. When it initially loads i want to have levels > 1 collapsed and the others opened. For this I want to set the pq_close parameter to 1 when pq_level > 1.
I'm trying to find the right event but the complete event is already too late since it already displays data and the load event is too early because it doesn't have the pq_level parameter yet. Other events that i tried like for example beforeTableView fire too often. I would like the event to fire only at initial load of the grid
Hope this was understandable and would appreciate your help.
Kind regards,
Bernd