nihad640 / smartgwt

Automatically exported from code.google.com/p/smartgwt
0 stars 0 forks source link

Filter Editor Date Item Problem #698

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,
I tried this both latest 3.0 and 3.1 builds.
Attached is the same test case with 

#jpa1_connector example on the showcase came with the download.

just added 2 lines:

listGrid.setAutoFitWidthApproach(AutoFitWidthApproach.BOTH);
listGrid.setAutoFitFieldWidths(true);

issue happens when a listgrid has horizontal scroll and minidateitem on filter 
in on on the viewable area..

Note: Please be sure that "Next Shipment" is the last field on listgrid and 
horizontal scroll is appeared.

Test case:

1. First, put some dates on "Next Shipment" field. Than enter a date or date 
range and click filter button. you'll see it filters correctly.

2. Then without touching the date filter, go to SKU field, type "9", and press 
enter/filter button, again it filters correctly.

3. Then clear data on SKU filter and predd enter/filter button, now it say "No 
data", and if you scrooll to "Next Shipment" field, you'll see that date filter 
is gone.

After that you need to close/open this page to correct the filter again.

also, another case.

1. First, put some dates on "Next Shipment" field that you know that there are 
some records. Than scroll back to beginning of the listgrid and now press 
filter. You'll see that it disregards the date filter.

We believe that if mindatetime item is out of the view area, like this, it 
creates some issues with filter.

can you please investigate this?

Original issue reported on code.google.com by gokhano...@gmail.com on 28 Dec 2012 at 11:48

Attachments: