Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to create columns dynamically ? #32

Open
sujith3g opened this issue Jun 16, 2016 · 0 comments
Open

How to create columns dynamically ? #32

sujith3g opened this issue Jun 16, 2016 · 0 comments

Comments

@sujith3g
Copy link

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 ?

@sujith3g sujith3g changed the title How to columns dynamically ? How to create columns dynamically ? Jun 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant