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
SidharthSidharth 

list of list of string rendering

Hi

 

I have List of List of String.

 

List<List<String>> with below 4 list<String>. I want to show that in a visualforce page, so that, all the string at position 0 have color1, and on position1 have color2

 

Ex: Result should be like this.

 

test0 <displayed in red color>

test1 <displayed in green color>

test2 <displayed in blue color>

test3 <displayed in green color>

 

 

How should i navigate it in the visual force page ?

 

 

 

(test0, null, null, null), 
(null, null , test1, null), 
(null, test2 , null, null), 
(null, null, test3, null]

 

Kirtesh_JainKirtesh_Jain

Hi ,

 

you shoud use <apex:repeat> function to  get items and use render property as well to display approporiate value that is not null if required.

 

ThanKs,

Kirtesh