How to handle search using filters checkbox in Django?

Submitted 5 years, 1 month ago
Ticket #54
Views 1216
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 5 years, 1 month 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 5 years, 1 month 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 5 years, 1 month ago

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

- sushkc787 5 years, 1 month ago

@Sushkc787 Did you find the solution ?

- sunil 5 years, 1 month ago

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

- Vengat 5 years, 1 month ago

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

- sushkc787 5 years, 1 month ago

@Aruntck Thank you very much...

- sushkc787 5 years, 1 month ago

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

- Vengat 5 years, 1 month ago

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

- Vengat 5 years, 1 month ago


Latest Blogs