So say I am have an
<apex:dataTable> with multiple jobs. Each job will have a start and end time. For each line of the dataTable, I have a link to open a JQuery dialog (a complex one). And I need to pass the data (including job Id, start and end time) to the JQuery dialog.
Approach 1 will be costing more loading time and heap size, I am not sure how bad is that. Approach 2 will definitely be causing more dialog open time. And plus, since the start and end time are not written into any DOM object, I need a global variable to store them which is kind of evil. What is the best approach in this?