1

New to ngx-datatable. In search for advanced display options I saw plenty ngx-datatable-column, but it's not in ngx-datatable nor any explanation from google. Can someone tell me where I learn about it?

StepUp
  • 36,391
  • 15
  • 88
  • 148
Jeb50
  • 6,272
  • 6
  • 49
  • 87

1 Answers1

0

There is some info about ngx-datatable-column here.

In addition, there is an article about inputs in ngx-datatable-column

Moreover, try to see their Github docs page. Just click on files such as inputs.md, internals.md, modes.md

StepUp
  • 36,391
  • 15
  • 88
  • 148
  • Nice! `` is the HTML counterpart of typescript **API Column**. Tried the [demo](https://stackblitz.com/edit/angular-ngx-datatable-summary-ghw4kl?file=app/app.component.html) provided by you from another thread, most attributes/directives of `ngx-datatable-column` don't use brackets, but `summaryFunc` does. Out of curiosity, once added `[ ]` to those without, i.e. name to `[name]` won't work. Is there a rule? Thank you – Jeb50 Mar 11 '21 at 23:24
  • @Jeb50 yeah, if it is property of component, then you need to set square brackets. Please, see this [post about parenthesis, brackets and asterisks](https://stackoverflow.com/questions/35944749/what-is-the-difference-between-parentheses-brackets-and-asterisks-in-angular2) – StepUp Mar 12 '21 at 09:13