Closed samerda75 closed 3 years ago
thank you for your reply it is useful, But this did not solve my original point, which i would like to show the date range filter fields
it will be appreciated if you can assist me to resolve this issue
I do believe that the "example"django project in this library, also published here:
http://django-ajax-datatable-demo.brainstorm.it/
already has a working date range filter. I suggest you to check the sources and compare them with your own project
If I right click and view source code it doesn’t show the full code
Samer Daghestani
CEO
m. 05398926163e. @.***
This electronic message transmission contains information which may be confidential or privileged. The information is intended to be for the use of the individual or entity named above. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of the contents of this information is prohibited. If you have received this electronic transmission in error, please notify us by electronic mail @.*** immediately.
From: morlandi @.> Reply-To: morlandi/django-ajax-datatable @.> Date: Tuesday, March 9, 2021 at 7:39 PM To: morlandi/django-ajax-datatable @.> Cc: samerda75 @.>, Author @.***> Subject: Re: [morlandi/django-ajax-datatable] You shouldn't do this in the class declaration: (#12)
I do believe that the "example"django project in this library, also published here:
http://django-ajax-datatable-demo.brainstorm.it/
already has a working date range filter. I suggest you to check the sources and compare them with your own project
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
@samerda75 the source code for the demo project is already in the library. Download it all from Github, then check in the "example" subfolder
You shouldn't do this in the class declaration:
since
RecCount
would be evaluated only once when the file is imported. I would rather overrideget_length_menu
as follows:Did you encounter other problems?
Originally posted by @morlandi in https://github.com/morlandi/django-ajax-datatable/issues/11#issuecomment-792516477