dandelion / dandelion-datatables

Dandelion component for DataTables
http://dandelion.github.io/components/datatables/
Other
110 stars 49 forks source link

Extend renderFunction parameters #303

Open tovarishStepanov opened 9 years ago

tovarishStepanov commented 9 years ago

It would be great if you could add another parameter to renderFunction indicates the source field to render, like: render(data, type, full, field). This allows to specify a single function for every column requires custom rendering with template engine support like mustaches or ractive. Then it's possible to only specify correct templates for each column requires rendering.

Thx.