handsontable / hot-table

Handsontable - Best Data Grid Web Component with Spreadsheet Look and Feel.

Home Page:http://handsontable.github.io/hot-table/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to create columns dynamically ?

sujith3g opened this issue · comments

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 ?