How to handle search using filters checkbox in Django?

Submitted 3 years, 8 months ago
Ticket #54
Views 1020
Language/Framework Django
Priority High
Status Closed

How to handle search using filters checkbox in Django?

Submitted on Jul 28, 20
add a comment

1 Answer

Sorry If i understand your question then you are looking for if we click the checkbox then it will filter out the data. Is the something your requirement?. Next time when you submit the ticket, take your time, and provide more details. As you are raising HIGH ticket then make sure to provide clear requirement.

Submitted 3 years, 8 months ago

@Sunil yes that`s my requirement."if we click the checkbox then it will filter out the data." So, how we will handle search in django?

- sushkc787 3 years, 8 months ago

Let me tell you at high level now, may be sometime tomorrow I will give some sample code, by the time you figured out the solution, keep you posted here. You can use JAVASCRIPT OR JQUERY to handle this option.all individual check box should have some html id right use that option you can get the value and pass the value to django then apply the filter on queryset then it should filtered out the data. Thanks

- sunil 3 years, 8 months ago

@Sunil Thankyou for replying me.I will also try to figure out the solution. So,Looking forward for your reply.....

- sushkc787 3 years, 8 months ago

@Sushkc787 Did you find the solution ?

- sunil 3 years, 8 months ago

can you check this article it would help you Filter article?

- Vengat 3 years, 8 months ago

@Sunil I've tried searching numerous times and didn't find any solution...

- sushkc787 3 years, 8 months ago

@Aruntck Thank you very much...

- sushkc787 3 years, 8 months ago

@Sushkc787 if everything looks good. May I ask you to close the ticket.

- Vengat 3 years, 8 months ago

I hope issue has been resolved from your end. We are initiating the request to close the ticket.

- Vengat 3 years, 8 months ago


Latest Blogs