Using extjs grid filtering with django

18 views
Skip to first unread message

Humberto Lopez

unread,
Jan 13, 2020, 3:18:24 PM1/13/20
to django-filter
How can I integrate the remote filtering offered by the grid in Ext JS 6 with django-filter?
I currently have the app django-filter and DjangoFilterBackend enabled as the default filter.


INSTALLED_APPS = (
'rest_framework',
'django_filters',
    (...)
)

REST_FRAMEWORK = {
(...)
'DEFAULT_FILTER_BACKENDS': ['django_filters.rest_framework.DjangoFilterBackend']
}

The client sends the 'filter' parameter in the url but has no effect.

Query String Parameters
  1. page:
    1
  2. start:
    0
  3. limit:
    25
  4. filter:
    [{"operator":"==","value":true,"property":"activo"},{"operator":"like","value":"2","property":"codigo"}]


Reply all
Reply to author
Forward
0 new messages