
Hello,
I would like to show a grid with a custom button and when clicked I want to invoke a component (LOAD) to load a subgrid based on the row id.
I know how I can fetch the row id in javascript and I know how to make the onlick button work to get JS code fired up (I still need to submit the PR for the modifications I made to grid to get this to work sorry.. will do this weekend).
Now the only piece that I am missing is to get a subgrid loaded.
I would need to invoke the myfunction.load and pass the row id to the load component so I can pass that to the (sub) grid.
The goal is to render a normal grid and then when I click a button in that grid it will render
a subgrid via ajax on the same pages displaying the references tables.
Pretty much a master/detail table scenario.
Can a load component also receive a value and be loaded via JS so I can pass on the row ID via JS?
I saw something in web2py that goes into a similar direction here: