hjalmers / angular-generic-table

A generic table for Angular 2+. Generic table uses standard markup for tables ie. table, tr and td elements etc. and has support for expanding rows, global search, filters, sorting, pagination, export to CSV, column clicks, custom column rendering, custom export values.

Home Page:https://hjalmers.github.io/angular-generic-table/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support colspan or rowspan?

MiniMenu opened this issue · comments

Hi, Dose angular-generic-table support cell merging?

Hi @MiniMenu, currently regular colspan and rowspan aren’t supported, however it’s possible to mimic the behavior of colspan as the table allows the use of a custom render function (how the values inside the columns are displayed) as well as the use of custom components inside table cells. So I’m not sure support for colspan adds anything. Rowspan on the other hand might be useful but I’m not quite sure how the data structure would work in that case as each row represents an entry (object) in a array. Perhaps you can elaborate a bit what you’re trying to do and what you’d need the table to be able to do?