If you change the FilteringTable to a normal Table can you still make this issue happen? Would be nice to know whether it’s an issue in the Table itself or a result of some of the modifications I have made.
It could also be useful if you could do this with the debug window visible, and let me know if there are any errors (e.g. an exception) shown there.
Hello Tepi, I will try to change it to Table. For now I just uploaded the sample app to:
http://146.255.34.72/scrolling so that you can take a look on it.
You have higher probability of getting this problem after clicking “Refresh table” button and then scrolling.
I will let you know it the problem remains there even with Table component.
The nested properties are not currently supported at all. I’ll add this to my list of todo’s for this addon but I really cannot promise any schedule for it. If you decide to not wait and implement it yourself, please post a patch for the addon :)
Sorry about that - the exceptions will be in red text in the debug window - you will surely notice :). Can’t see any exceptions in your log paste though.
I did try your application with Firefox 15.0.1 and could not reproduce this after 10-15 counts of refresh and random scrolling. Does it only happen on specific browser and how many tries does it usually take to happen?
Tepi, it looks its quite random. I created screencast where you can see how I reproduced it in google chrome. But I was able to reproduce it also in Firefox. On two different laptops. (if you are not able to play this video, let me know, I will try to convert it to different format).
http://dodek.sk/share/scrolling-chrome.avi
In this video I used mouse to drag scrollbar, but was not able to reproduce the problem. Then I used mousewheel to scroll, and you can see the result.
(EDIT)
Here is video with firefox:
dodek.sk/share/scrolling-firefox.avi
Ok, I get it now too - just have to scroll really fast, at least on my computer.
On the issue itself - I don’t think this has anything to do with the FilteringTable add-on, so your best bet would be to swap it out for a common Table and then provide a (simplified) test case to the ticket you already mentioned. Please let me know how if the problem does not appear with the common Table component.
Nevertheless found an issue with layouts. Say if filtersbar is not visible there is a scroll bar in the bottom of the table that allows to scroll to the right, but when filters set to visible this scrollbar disappears. Can attach screenshots if this has never been seen before.
Do you already know the problem and perhaps how it could be solved?
I have no issues in my program, but I think that there should not be such an exception at all…
Thanks for the addon, it works great, but there is an issue when using it with maven.
The jar file of this plugin is compliled without debug option, so you can’t use debugger in the compiled classes. Of course, it is not critical, but it would be much better if you turn on debug option in future versions. Thanks
Hello. I am using filtering table in a project. Really great add-on as many people have already mentioned. I implemented my own filter popup with multiple checkboxes.
So filtering is done by checkboxes value changes. At first I did not used setPopupVisible(false) as it is done in DateFilterPopUp on each value change. On table with small amount of data, when I clicked on checkboxes everything worked fine and pop up was visible, but with large amount of data in the table pop up just disappears(!) and when you click on popup nothing happens(!). Interesting, that if you just refresh page in the browser, pop up is shown(!)/ So I`ve tried setPopupVisible(false) and it works fine, but it is not comfortable if you want to “click” on a lot of checkboxes (you need to click on pop up each time as it is not visible). I guess that this problem could happen with DateFilterPopUp if there had been no setPopupVisible(false) on “Set” function.
Maybe someone has ideas what can be the root of this problem and how this can be fixed?
Thanks in advance.
The DateFields in the DateFilterPopup use the application’s locale setting. So you can just call setLocale(whatever) on your application instance and that will be used. By default this is set from the browser preferences of the user.
this exception is thrown because FilterFieldGenerator does not implement Serializable. I’ll have that class implement Serializable in the next release. Thanks for noticing!
I can’t immediately say what could be the reason for this. I’ll try to look into it when I have some more time. In the meantime, could you consider using a button in your checkbox-popup like the one used in the datefilterpopup? This should eliminate the issue, of course it’s probably not as nice a solution if the user has to click Ok.
We are using FilterTable in our project. We went from 0.5.3 to 0.6.1. One thing that happened is that DateFilter() is now gone. What do we use in place of it?
the DateFilter was remove because it was pointed out to me that it’s actually useless and causes more problems than it solves :) You should use the built in filters of Vaadin instead: