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

datatable-column using v-for, with customize :formatter for each of cols #45

Open
howard-wong opened this issue Jan 18, 2018 · 0 comments

Comments

@howard-wong
Copy link

howard-wong commented Jan 18, 2018

<div id="app">
   <datatable :source="d">
      <datatable-column v-for="column in columns" :id="column.id" :label="column.label" formatter="formatter_func"></datatable-column>
   </datatable>
</div>

Is it possible to customize dedicated formatter for each columns when using v-for, as the columns are various of type.

or, if the columnId can be drop to the formatter function.

Any advice? Thanks.

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