Skip to content
This repository was archived by the owner on Jun 22, 2020. It is now read-only.

Can this make a cell span columns or rows? #14

@ZaLiTHkA

Description

@ZaLiTHkA

I'm working through a number of different Angular "table builder" modules at the moment, found this one just now and it was by far the easiest to get going with straight-out-the-box. The others that I've looked at so far have simply been way too "over the top" with functionality that my current project will literally never use... However, there are a few small things I'm battling to work out here.

Not sure if I'm just missing something from the examples on the linked stackblitz.io page, but perhaps someone could tell me if ng-table-builder can generate tables with the following example layout:

Table Title
Label: Value Label: Value
Label: Value Label: Value

This involves two things that I haven't managed to work out so far:

  1. Using the colspan attribute to make one header cover all columns (I would also like to use rowspan, but that's not required)
  2. Showing multiple entries per row, so where my source data is an array of 4 entries, and I have 2 on each table row.

Regarding point 2, if this module has no way to cater for this specifically, I can quite easily restructure my source data on the fly to have 2 entries, joining them in code before pushing them to the table... So that's no big issue, but the column (and hopefully row) spanning is a necessity for me.

Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions