Skip to content

How to create columns dynamically ? #32

@sujith3g

Description

@sujith3g

Is it possible create <hot-columns> dynamically using a dom-repeat ? I have tried something like this

<hot-table height="250" width="300">
        <template is="dom-repeat" items="{{colum_list}}">
          <hot-column value="{{item.col}}" header="{{item.title}}" width="{{item.width}}"></hot-column>
        </template>
  </hot-table>

But I got Uncaught TypeError: this.parentNode.onMutation is not a function Error in the console

Any workarounds to do this ?

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