Single column with multiple rows
Single column with multiple rows
Lakshmi S
Posts: 5Questions: 3Answers: 0
How can I create a single column without a header/title which has multiple values as rows? usig datatables rows and columns
This discussion has been closed.
Answers
Like this example?
http://live.datatables.net/yusasako/1/edit
Create a
thead
that is blank. You can use thedom
option to remove the search input, page length, etc.Kevin
This is fine and I know. But while using rows and columns like below
Eg: HTML : <ngx-datatable [rows]="rows"
[columns]="columns">
</ngx-datatable>
TS: rows = [
{name:'Lakshmi'},
{name:'Zora'},
];
columns = [
{name: 'Name', prop:'Name'},
];
Its mandatory to give a column/field name. Without this we cannot give values to it in rows. Here I dont want to use column/filed name(header). Without a header or title i want to have only rows with values as follows
Lakshmi
Zora