function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
public class customPickListInVFDemoController { public String country { get; set; } public customPickListInVFDemoController(){ } public List<SelectOption> show() { return getCountriesOptions(); } public List<SelectOption> getCountriesOptions() { List<SelectOption> countryOptions = new List<SelectOption>(); countryOptions.add(new SelectOption('india','india')); countryOptions.add(new SelectOption('usa','usa')); countryOptions.add(new SelectOption('UK','UK')); countryOptions.add(new SelectOption('NA','NA')); countryOptions.add(new SelectOption('CA','CA')); return countryOptions; } }
1. getCountriesOptions methode is selection option
2. show methode is returning SelectOptions .
Use above code any issues ask me .
Reagrds ,
Harish.R.
is it completed ?
Regards,
harish.r.