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
Ravi Kumar 6740Ravi Kumar 6740 

How to convert horizontal array into vertical array?

Ravi Kumar 6740Ravi Kumar 6740
User-added image
Ashish Singh SFDCAshish Singh SFDC
Hi Ravi Kumar 6740,

May I ask what is your use case here? Your JavaScript is displaying 6 records and each record is of array type. If you click on Append icon on each record for example append icon before 0, it will then display vertically.

My assumption is you want to create some datatable and show record vertically instead of horizontally?

Ashish Singh.
AbhinavAbhinav (Salesforce Developers) 
As @Ashish mentioned please mention use case .However you can check below link for horizontal to vertical in a javascript array