handsontable / hot-table

Handsontable - Best Data Grid Web Component with Spreadsheet Look and Feel.
http://handsontable.github.io/hot-table/
MIT License
130 stars 36 forks source link

How to create columns dynamically ? #32

Open sujith3g opened 7 years ago

sujith3g commented 7 years ago

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 ?