There is often a the small table at the top of a list page, that displays the parent of the current list page. I believe it is called the CurrentMasterTable but I will call it the parent table.
There is data in that parent table (company name etc) that I want to insert into the child list rows whenever certain keywords appear in those rows.
What I’d like to do is grab some data from the parent table and do a find and replace with that data in the child table.
I can do it on the client side very easily with Jquery, but that only works with the list page and not the export of the list page. There is no client side scripting for export events. So I need to do the find and replace in a Server Event, in the hope it will work for both the export function and the regular html render.
Trouble is, I’m not aware of a list page server event that has access to the parent table. A list page’s Row Rendered event can’t see its parent data, as far as I can tell. Is there such an event? I want the data to be in scope already. I don’t want to be firing off an sql query for every row rendered to go grab it. That would be 200 extra queries per page!The alternative might be to set some global variables, capturing the data in the parent table, at some event on the previous (parent) list page, and then use those variables in Row Rendered on the current (child) list page. But what event would capture the data for the particular parent record that the user has just clicked on? And how do I pass variables from one page to another? Is it enough to just declare them as global, or something?
Boy I hope that makes sense.
Thanks in advanceJohn