function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
VNVN 

Is it possible to pass more than one variable to datatable?

Hi,
 
I have a datatable which fetches some data from the Account object using variable called accounts. Now i want some more data to appear in the table which is not part of Account object. So using controller class iam fecthcing the values from different object and storing it in another varaible. Now can i pass these two variables in datatable tag. If so, then please let me know how it can be done?
 
Please Help.
 
Thanks in advance
Priya
MohanaGopalMohanaGopal
Hi..
 
        U can not pass more than one variable to datatable instead of U can use either wrapper class or datamodel for it...
 
Wrapper class link. http://wiki.apexdevnet.com/index.php/Wrapper_Class :