Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Scout » Column Filter in TablePages when table is scrolled(Column Filter in TablePages when table is scrolled)
Column Filter in TablePages when table is scrolled [message #1276356] Mon, 24 March 2014 12:57 Go to next message
Didier LALLEMAND is currently offline Didier LALLEMANDFriend
Messages: 18
Registered: February 2014
Junior Member
Hi Scout Users,

Firstly and before starting with my questions and my problems I have to congratulate all Scout Team for this great job !

I use Scout 3.9 (with RAP only, neither SWT nor Swing) on Linux system.

It seems that when I want to filter values in a TablePage (right clic on header column and "Column filter..."), the form that appears does not give the good values if the table (with a lot of columns) is scrolled on the right.

Regards,


Scout 3.9 with RAP (neither Swing nor SWT) / Linux
Re: Column Filter in TablePages when table is scrolled [message #1276402 is a reply to message #1276356] Mon, 24 March 2014 14:15 Go to previous messageGo to next message
Jeremie Bresson is currently offline Jeremie BressonFriend
Messages: 1252
Registered: October 2011
Senior Member
Can you post a screenshot or a code example in order to reproduce it?

It would also help if you can tell if the problem exists with the lastest Luna Milestone release.
http://www.eclipse.org/downloads/index-developer.php
Re: Column Filter in TablePages when table is scrolled [message #1276648 is a reply to message #1276402] Mon, 24 March 2014 21:40 Go to previous messageGo to next message
Didier LALLEMAND is currently offline Didier LALLEMANDFriend
Messages: 18
Registered: February 2014
Junior Member
Hi Jeremie,

I'm sorry if it wasn't clear enough. I will try with Luna as soon as possible. For the moment, here are two screenshots :

Firstly, I scroll my table to get the column that I want to filter, and then I open the column filter dialog box:
index.php/fa/17830/0/


And the result : values of the wrong column (because of the scroll)
index.php/fa/17831/0/

Thanks for you help.

With regards,

Didier.

  • Attachment: step1.jpg
    (Size: 120.36KB, Downloaded 627 times)
  • Attachment: step2.jpg
    (Size: 154.78KB, Downloaded 628 times)


Scout 3.9 with RAP (neither Swing nor SWT) / Linux
Re: Column Filter in TablePages when table is scrolled [message #1277824 is a reply to message #1276648] Wed, 26 March 2014 14:11 Go to previous messageGo to next message
Jeremie Bresson is currently offline Jeremie BressonFriend
Messages: 1252
Registered: October 2011
Senior Member
Thanks a lot for your explanations. It is much clearer now.

I could reproduce your case with scout 3.9.1.

It seems that the bug has been fixed for Luna. If you do not want to migrate now to 4.0, I recommend you to switch to one of the 3.10 milestones. I tried it with 3.10-M5 and it works. (we explained our new versioning policy in this thread. If something is not clear do not hesitate to ask)

PS: By the way, it seems that you have a nice scout application.
Re: Column Filter in TablePages when table is scrolled [message #1277894 is a reply to message #1277824] Wed, 26 March 2014 15:56 Go to previous messageGo to next message
Boy D'Poy is currently offline Boy D'PoyFriend
Messages: 67
Registered: October 2011
Member
here lies the problem on 3.9 brand:

	public static TableColumn getRwtColumnAt(Table table, Point p) {
	
		int x = p.x;
		if (table.getHorizontalBar() != null) {
			x += table.getHorizontalBar().getSelection();
		}
		// loop over all columns with respect to the current display order
		for (int index : table.getColumnOrder()) {
			TableColumn col = table.getColumn(index);
			if (col != null) {
				if (x >= 0 && x <= col.getWidth()) { return col; }
				x -= col.getWidth();
			}
		}
		return null;
	}


in RWTUtility

and I really don't know the reason why table.getHorizontalBar().getSelection() always return 0 while an offset is expected!

PS: yeah the app looks very nice and that's not all! Smile


Once You Go Scout, You Never Come Out!
Re: Column Filter in TablePages when table is scrolled [message #1278820 is a reply to message #1277824] Thu, 27 March 2014 22:29 Go to previous messageGo to next message
Didier LALLEMAND is currently offline Didier LALLEMANDFriend
Messages: 18
Registered: February 2014
Junior Member
Hi Jeremie,

Sorry for my late reply and thanks a lot for your help! I'm going to try 3.10-M5...(and surely Luna, but later).

PS : Concerning our application, we are very satisfied of what we have succeeded to do with Scout/RAP. Thanks to my friend Boy D'Poy who convinced us to use Scout framework. Unfortunatly for us, he abandoned us (joke) to go to other adventure... Razz


Scout 3.9 with RAP (neither Swing nor SWT) / Linux
Re: Column Filter in TablePages when table is scrolled [message #1332545 is a reply to message #1278820] Sun, 04 May 2014 17:59 Go to previous messageGo to next message
Didier LALLEMAND is currently offline Didier LALLEMANDFriend
Messages: 18
Registered: February 2014
Junior Member
Hi Jeremie,

I tried with the latest luna branch 4.0.0.2140503 (but not with 3.10-M5) and the problem always exists. I even met other problems : when I right click on column header to open a filter:
- the first time, the "Column filter" menu item is not visible
- the second time and after, the values match the column one rank on the left
- and whatever the column you choose, the values are always the same

Did I make a mistake or do you meet the same problem ?

(Linux Fedora 20 + Eclipse Luna)

Best regards,

Didier


Scout 3.9 with RAP (neither Swing nor SWT) / Linux
Re: Column Filter in TablePages when table is scrolled [message #1384329 is a reply to message #1332545] Wed, 28 May 2014 18:32 Go to previous messageGo to next message
Jeremie Bresson is currently offline Jeremie BressonFriend
Messages: 1252
Registered: October 2011
Senior Member
Hi Didier,

Sorry for the late answer (*) and thank you for your message.

Tested with Scout Luna RC1:
- org.eclipse.rap.rwt.osgi 2.3.0.20140124-1321
- org.eclipse.rap.ui.workbench 2.3.0.20140212-1749
- org.eclipse.scout.rt.ui.rap.theme.rayo.mobile 4.0.0.20140520-1318
- org.eclipse.scout.rt.ui.rap.mobile 4.0.0.20140520-1318
- org.eclipse.scout.rt.ui.rap.theme.rayo 4.0.0.20140520-1318
- org.eclipse.rap.ui 2.3.0.20131210-1030
- org.eclipse.scout.svg.ui.rap 4.0.0.20140520-1318
- org.eclipse.rap.ui.forms 2.3.0.20140512-0919
- org.eclipse.scout.rt.ui.rap 4.0.0.20140521-1250
- org.eclipse.rap.jface.databinding 2.3.0.20131210-1030
- org.eclipse.rap.rwt 2.3.0.20140520-1615
- org.eclipse.rap.jface 2.3.0.20140306-1341

Firefox 29.0.1
Windows 7

I could observe similar behavior:
If I click only with right-click, I never get the "Column filter" menu Item.

index.php/fa/18161/0/

index.php/fa/18162/0/

If I once click with the left button of the mouse, it changes the sort order (the table is ordered by this column). After that, in the context menu (right click), I get the Menu Item "Column filter" but the filter windows is opened for the column that was clicked previously with the left click, independently from where the right click occurs.

index.php/fa/18163/0/

index.php/fa/18164/0/

Both menus open this filter window:

index.php/fa/18165/0/<Image>

I will try to ask the Scout RT development team. I hope there is a solution.

(*) am I currently really busy in the scout project I am involved in. I do not have enough time for the Eclipse Scout community.

[Updated on: Wed, 28 May 2014 19:10]

Report message to a moderator

Re: Column Filter in TablePages when table is scrolled [message #1384547 is a reply to message #1384329] Thu, 29 May 2014 09:23 Go to previous messageGo to next message
Didier LALLEMAND is currently offline Didier LALLEMANDFriend
Messages: 18
Registered: February 2014
Junior Member
Hi Jeremie,

No problem, I've guessed you were (are) busy (I also know that kind of problem Wink). So, thank you to have taken time to answer my question.

Bon courage Wink !

Didier.


Scout 3.9 with RAP (neither Swing nor SWT) / Linux
Re: Column Filter in TablePages when table is scrolled [message #1384838 is a reply to message #1384547] Mon, 02 June 2014 13:15 Go to previous messageGo to next message
Matthias Nick is currently offline Matthias NickFriend
Messages: 197
Registered: August 2013
Senior Member
Hi Didier, Jérémie,

I just verified the problem with the 4.0.x and 4.1 (develop) branch. The problem occurs on both branches: I created bug 436361

Thanks for reporting.

Best regards,
Matthias
Re: Column Filter in TablePages when table is scrolled [message #1385072 is a reply to message #1384838] Wed, 04 June 2014 08:22 Go to previous messageGo to next message
Matthias Nick is currently offline Matthias NickFriend
Messages: 197
Registered: August 2013
Senior Member
Hi Didier,

we fixed the problem on the latest Scout branch. Can you test it with a version >= 04.06.2014 and report if your problems are solved now?

Best regards,
Matthias
Re: Column Filter in TablePages when table is scrolled [message #1385741 is a reply to message #1385072] Tue, 10 June 2014 21:15 Go to previous messageGo to next message
Didier LALLEMAND is currently offline Didier LALLEMANDFriend
Messages: 18
Registered: February 2014
Junior Member
Hi Matthias,

I'm sorry for the delay : I've had few problems with update on my eclipse luna RC2. So, I installed RC3 and...all problems are now solved !
- "column filter" menu appears on every right clic and gives the good filter values,
- on large tables with right scroll, the "column filter" is now ok (good values ; no more shift problem)

Thanks Matthias, Jeremie (and all Scout Team!)

Best regards,


Scout 3.9 with RAP (neither Swing nor SWT) / Linux
Re: Column Filter in TablePages when table is scrolled [message #1385766 is a reply to message #1385741] Wed, 11 June 2014 06:21 Go to previous message
Matthias Nick is currently offline Matthias NickFriend
Messages: 197
Registered: August 2013
Senior Member
Hi Didier,
glad it works now, and thank you very much for testing Smile

Best regards,
Matthias
Previous Topic:Scout usage from command line
Next Topic:Jetty server hook for configuration
Goto Forum:
  


Current Time: Fri Apr 19 11:57:46 GMT 2024

Powered by FUDForum. Page generated in 0.03696 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top