Mehmet Dogan
Mehmet Dogan
Upgraded to 0.4 with the pull request.
Not in morphology-0.4.txt. They have single lemmas.
while loop here https://github.com/pivotal-energy-solutions/django-datatable-view/blob/master/datatableview/columns.py#L59 makes it skip ForeignKey and switch to IntegerField (pk).
I commented out those two lines, and now it works for me. However, I do not know what did I get rid of.
search failed on columns.py line 311: ``` model_field = self.model_field_class() ``` because ForeignKey requires a positional ``to`` argument.
get_datatable_kwargs never gets called in a MultipleDatatableView. Any ideas how to work around it?
seems I had to override: get_DTNAME_datatable_kwargs, or get_default_datatable_kwargs instead.
> since all of the built-in columns we provide wouldn't benefit from it. Why not? being able to set column width might be needed once in a while for any...
If that works, in a similar fashion, I should be able to do this as well: ``` datatableview.initialize($('.datatable'), { "columns": [ { }, { }, { "render": my_function } ]...