I am working on ag-grid component. In this grid I have to bind only column in vertical format. suppose I have an array ["0.1", "0.4", "cn", "abc"] and I have to display it in ag-grid component as below and i don't have any rowData.
0.1
---------------------------------
0.4
---------------------------------
cn
---------------------------------
abc
--------------------------------
Is it possible to bind above array in vertical format using ag-grid. or is there any other solution, Please any help will be appreciated. Thanks in advance.
my html file:
<ag-grid-angular
style="width: 500px; height: 500px;"
class="ag-theme-balham"
[rowData]="rowData"
[columnDefs]="columnDefs"
>
</ag-grid-angular>