You need to sign in to do that
Don't have an account?
Neha@Sfdc
creating tabs dynamically
my requirement is,when a list contains suppose to records,then 2 tabs should be created and if n records then n tabs should be created.....how do i achieve this?
You can collect all the records in a list by SOQL query and then using repeat tag you can use jquery tabs to display then as tabs.
Please use the apex repeat tag to loop the values no. of records return from the list. And include
'<apex:tab>' inside the apex repeat tag to dynamically generate the tabs according to the no of records return from the list.
Hope this information helps.