google-code-export / smartgwt

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

Filter value is disappearing in ListGrid #478

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

the following error occured at my ListGrid with :

I have a Listgrid with a few fields. Filters for ListGrid are enabled: 
myGrid.setShowFilterEditor(true)
myGrid.setFilterOnKeypress(true)

What steps will reproduce the problem?
1. Load data for ListGrid
2. Set filter value for an enumeration field
3. Pressed the filterbutton

What is the expected output? What do you see instead?
Expected output: The data is filtered by the given value. The filter value is 
still visible

Instead:  The filter value disappears. 

Maybe it is because of the date columns. ListGrids without date columns work as 
expected. Even ListGrids with disabled date columns.

What version of the product are you using? On what operating system?
smartGWT 2.2 on Windows

Best regards,

Martin

Original issue reported on code.google.com by KramerMa...@gmail.com on 23 Jun 2010 at 11:45

GoogleCodeExporter commented 9 years ago
Please post a minimal standalone testcase or a modification to an existing 
showcase sample that illustrates the issue.

Original comment by sanjiv.j...@gmail.com on 26 Jun 2010 at 5:49

GoogleCodeExporter commented 9 years ago
I attached a minmal Example.
After starting the demo you can see the filter editor doesn't work.
If you disable the Field "date" everythink works fine, but if a datefield is 
enabled the editor doesn't save the filter values for other fields.

Original comment by KramerMa...@gmail.com on 30 Jun 2010 at 10:52

Attachments:

GoogleCodeExporter commented 9 years ago
Confirmed, only in smartgwt 2.2. Also it happens to me in a grid WITHOUT dates 
but ONLY in the compiled version, in dev mode is ok...

Original comment by bitblast...@gmail.com on 16 Jul 2010 at 8:58

GoogleCodeExporter commented 9 years ago
This can be seen even in the Showcase sample:
http://www.smartclient.com/smartgwt/showcase/#daterange_filtering_new_category

In this "Date Range Filtering" sample, the second section showcases the 
FilterEditor (MiniDateRangeItem).  In this grid, pick a value from the dropdown 
for "Continent" field and filter.  In the resultant grid, the filter value for 
"Continent" goes missing, although the filtering happens.

Original comment by thisisg...@gmail.com on 29 Jul 2010 at 4:26

GoogleCodeExporter commented 9 years ago
Unlike the DateRange Filter referenced above, the DisableFilter sample 
(http://www.smartclient.com/smartgwt/showcase/#grid_sortfilter_disable_filter) 
does behave as expected - keeping the text in the filter. Strange that one 
works and one doesn't. 
I'm using smartgwtpower-2.3 in IE8 and Firefox 3.6.8 and have a listGrid that 
loses the dateItem values in the filter when the columns are resized. I think 
this is related.

Original comment by carol.sc...@arrisi.com on 26 Aug 2010 at 9:12

GoogleCodeExporter commented 9 years ago
Looks like this issue is fixed in smartgwt 2.3.  The Showcase sample (now using 
smartgwt 2.3) does not seem to have this issue anymore.

Original comment by thisisg...@gmail.com on 23 Sep 2010 at 8:53

GoogleCodeExporter commented 9 years ago
oh, that's nice ;)
but when is the release date of SmartGwt 2.3 ??

Original comment by KramerMa...@gmail.com on 24 Sep 2010 at 7:55

GoogleCodeExporter commented 9 years ago
I am also waiting for some improvements in SmartGWT 2.3 
When will be it´s release?

Original comment by arne.kor...@gmail.com on 6 Oct 2010 at 8:34

GoogleCodeExporter commented 9 years ago

Original comment by sanjiv.j...@gmail.com on 29 Nov 2010 at 6:52

GoogleCodeExporter commented 9 years ago
Hi,

I'm observing the same issue in 3.1.

Original comment by kencykur...@gmail.com on 3 Jul 2014 at 6:18

GoogleCodeExporter commented 9 years ago
The original issue is fixed.  If you believe there's a new way to cause a 
similar issue, post a new, minimal, ready-to-run test case demonstrating the 
issue.

Original comment by smartgwt...@gmail.com on 3 Jul 2014 at 3:22