I am currently working with the ag-grid component and I need to bind a single column in a vertical format. Let's say I have an array ["0.1", "0.4", "cn", "abc"] that I want to display in the ag-grid component as shown below, without using any rowData.
0.1
---------------------------------
0.4
---------------------------------
cn
---------------------------------
abc
--------------------------------
Is there a way to bind the above array in a vertical format using ag-grid, or is there another solution that might work better? Any assistance would be greatly appreciated. Thank you in advance.
Here is a snippet from my HTML file:
<ag-grid-angular
style="width: 500px; height: 500px;"
class="ag-theme-balham"
[rowData]="rowData"
[columnDefs]="columnDefs"
>
</ag-grid-angular>