Inconsistent results with filter control
My team noticed an issue today with the filtering functionality of this component. The best way I could think of to communicate the issues was with a series of screenshots. See below.
Here is the default state of the grid with no filter applied. Note that company with the name "Acuity Insurance" in the list:

When I enter the first two characters of the company name into the filter, "Acuity Insurance" is still in the list of results in the grid:

Now, when I enter a third charter, which, note, is still part of the company name "Acuity Insurance", I see no results at all in the grid (note that it actually does appear that there is a row in the grid...but there is no content visible in it...part of the problem?):

If I enter the entire first word of the company name, "acuity" and add a question mark to the end of the word...I still have no results, but I now actually get the "no data" message in place of the grid:

Then if I hit backspace, and remove the question mark, I actually now see the result I expect:

Anyone else seen this? Is there a solution or workaround for fixing this? Would love to see consistent results with the filter control.
Hey there! Sorry you're encountering issues like this. Screen shots are a perfect way to convey this information. Are you using infinite scrolling and is this a local data set or is it calling out to a server to get results?
We'll try to get this sorted out. :+1:
I am using infinite scrolling, yes...and the data is local. I am making a server call to get the results, but...prior to rendering the grid, so, its all local.
Would you be able to get us some sample data to reproduce the results you're seeing?
The results that the above screenshots are based on is just some mock data that is getting generated...so the issues really apply to just about any data...here's a sample collection of mock data that got generated today...hopefully this helps.
https://gist.github.com/ryexley/ef7ac617ba01ebef3276
Thanks for posting the information. Sorry to keep bugging you for more info but could you please create a project that I can pull down to demonstrate this or something along those lines (jsfiddle or would be great too)? I'm not able to reproduce the issue and I'd really like for this to be working for you.
Hey @ryexley -- I'm going to close this one for now. Please let me know if you're still encountering problems and we can open it back up.
I am still experiencing it, but I've not had the capacity to put together a full sample project to reproduce the issue. I provided a collection of sample data, but not a full solution. On Sat, Apr 25, 2015 at 4:12 PM Ryan Lanciaux [email protected] wrote:
Hey @ryexley https://github.com/ryexley -- I'm going to close this one for now. Please let me know if you're still encountering problems and we can open it back up.
— Reply to this email directly or view it on GitHub https://github.com/GriddleGriddle/Griddle/issues/123#issuecomment-96272771 .
Thanks for sending the mock data. I was not able to reproduce the issue with the mock data.
@ryexley are you using a custom component to render the column? the sorting/filtering only works on the raw data you pass in, not the data that is rendered.
@pherris not for the Company column, no...for the other column, yes, I'm using a custom component for it...but not Company.