+ 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 :