morlandi / django-ajax-datatable

A Django app which provides the integration of a Django project with the jQuery Javascript library DataTables.net
MIT License
204 stars 64 forks source link

How to apply filtering for model dynamic field #56

Open DChaitanya opened 2 years ago

DChaitanya commented 2 years ago

I have dynamic field name, constructed based on combination for two or more model field values. Now if I want to apply filter on this field, is it possible to apply by passing any column def argument like lookup_field or any other.

I want to pass search value = model.filed1 or model.filed2 or model.field3

morlandi commented 2 years ago

Interesting suggestion, but not supported now. I will leave this issue open; I'm willing to accept PR on this