Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » scout » Table columns - disable drag
Table columns - disable drag [message #1434660] Tue, 30 September 2014 12:10 Go to next message
Flash Man is currently offline Flash ManFriend
Messages: 17
Registered: August 2014
Junior Member
Hi, in table when you click and hold on table column header, you can drag it left right, how to disable draging columns in table...

thanks
Re: Table columns - disable drag [message #1435306 is a reply to message #1434660] Wed, 01 October 2014 09:47 Go to previous messageGo to next message
Flash Man is currently offline Flash ManFriend
Messages: 17
Registered: August 2014
Junior Member
anybody?
Re: Table columns - disable drag [message #1435392 is a reply to message #1435306] Wed, 01 October 2014 12:31 Go to previous message
Matthias Nick is currently offline Matthias NickFriend
Messages: 197
Registered: August 2013
Senior Member
HI FlashMan,

I am afraid there is no such functionality out of the box.

I had a look on how it would be implemented in Swing:
getTableHeader().setReorderingAllowed(false)


However when I look into the code, we explicitly set it to true:
org.eclipse.scout.rt.ui.swing.basic.table.SwingScoutTable.initializeSwing()
...
m_swingTableHeader.setReorderingAllowed(true);


What do others think, would this be a usefull feature in the Scout framework? If so I think we could open a change request and start to implement this feature.

Best,
Matthias
Previous Topic:miniCRM Tutorial...for JPA folks
Next Topic:Key events
Goto Forum:
  


Current Time: Thu Dec 14 00:47:59 GMT 2017

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

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