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
srilakshmib87srilakshmib87 

Displaying array values in VFp age

Hi

 

In my Controller class I have array of doublee values.I want to display the values in the array in different cells in my VFp age.

For Instance,I have array

 

Double [] temp;

 

 I want to display temp[0] and temp[1] at two different positions in VF page.How could this be acheived using get Method.

Ispita_NavatarIspita_Navatar

Hi srilakshmib87,

The best way to implement this would be to define the return type of your get method as list.

Then you can you can get/ assign the value of this property to a list type of variable in your page and then programatically assign the different index values to different cells.

 

Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved.