angularjs - Nested ngx-datatable -
can let me know if nested ngx-datatable possible within ngx-datatable e.g. wanted add separate ngx-datatable within column of datatable.
here trying
rows = [ { "name": "ethel price", "gender": "female", "company": "johnson, johnson , partners, llc cmp ddc", "age": 22 }, { "name": "claudine neal", "gender": "female", "company": "sealoud", "age": 55 }, { "name": "beryl rice", "gender": "female", "company": "velity", "age": 67 }, { "name": "wilder gonzales", "gender": "male", "company": "geekko" }] ;
<ngx-datatable class="table-bordered schedule-work-grid" [columnmode]="'force'" [rowheight]="'auto'" [headerheight]="150" *ngif="locations.length > 0" [rows]="rows"> <ngx-datatable-column name="name"></ngx-datatable-column> <ngx-datatable-column> <template> <ngx-datatable class="table-bordered schedule-work-grid" [columnmode]="'force'" [rowheight]="'auto'" [headerheight]="150" *ngif="locations.length > 0" [rows]="rows"> <ngx-datatable-column name="name"></ngx-datatable-column> </ngx-datatable> </template> </ngx-datatable-column> <ngx-datatable-column name="age"></ngx-datatable-column> </ngx-datatable>
can confirm if nested datatables possible , if yes, how can that?
edit
i want create below structure
as understand, colspan , rowspan functionality not supported ngx-datatable. request provide pointers can go ahead implementation
Comments
Post a Comment