Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8562599
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T16:45:51+00:00 2026-06-11T16:45:51+00:00

Edit: I think the problem is in my self.providers = ko.computed(), I’m overwriting my

  • 0

Edit: I think the problem is in my self.providers = ko.computed(), I’m overwriting my providers array on the filter button click;

I’ve two fiddles up, both have everything in the HTML pane as I’m developing everything locally and it’s just easier to copy/paste the entire file into jsfiddle rather than break it out.

I also have stubbed in a rather large dummy data object. This starts at line 110, so if you copy/paste/run it locally on your end, you’ll definitely want an editor that can minimize that data object!

First fiddle is at http://jsfiddle.net/82cK7/ and seems to work fine, but it’s “live” filtering. I just started with the provider name filtering, then added the jquery UI datepicker for date filtering as well. This will filter the data table when you change anything up in the green filter area.

Pertinent code here is self.filterClaims at line 196

Second fiddle is at http://jsfiddle.net/tq8zc/ and doesn’t quite work right. The filtering here doesn’t kick in until you click the “filter” button (this is the behavior I really want). It filters the table, but it also blows out my self.providers which generates a unique list of provider names for that select/dropdown. So, before you filter this, you have a list of multiple provider names. After you filter, you only have the provider you selected before you hit “filter”.

Pertinent code here is self.claimsFiltered at line 166

I feel like I’m missing something pretty obvious and was wondering if I can get a set of other eyes looking at the code.

Thanks much for any help!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T16:45:53+00:00Added an answer on June 11, 2026 at 4:45 pm

    Here’s one simple way to do it. I just added a currentFilter observable that contains the latest filter properties, and the filter button just updates this with the new filter values. Hope this helps. Updated fiddle: http://jsfiddle.net/antishok/tq8zc/2/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Edit I think there is some confusion, I am not using both of the
Edit: I think I've figured out how to do the binary data part. Double
EDIT: This question was initially too general, I think. So What I really need
EDIT: I have fixed all but two warnings now, so thank you all for
I think I have a problem, maybe linked to a retain cycle in Core-Data.
I think I hit a problem when using C# client to consume Google App
So as part of problem 17.6 in Think Like a Computer Scientist, I've written
I think this is simple, but I am having big problem with this. I
I ran into this problem using EF4 and a self-referential table (implementing an adjacency
I think the title is rather self explanatory but just to clarify I am

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.