Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » Cell selection on Grid(How to enable and disable cell selection on Grid)
Cell selection on Grid [message #1719937] Wed, 13 January 2016 10:57
Harshini Garikiparthi is currently offline Harshini GarikiparthiFriend
Messages: 23
Registered: March 2015
Junior Member
Hi,
I have a scenario where on Mouse double click event a single cell on the Grid must be selected and on normal click the whole row needs to be selected
Please refer the code below
grid.addMouseListener(new MouseListener() {

public void mouseDoubleClick(MouseEvent e) {
grid.setCellSelectionEnabled(true);

}
}
and later
grid.setCellSelectionEnabled(false);

so that on normal click the row gets selected. But the behaviour defers , the Row does not get selected. Please suggest what can be done.
Previous Topic:Updating product causes artifacts problems
Next Topic:eclipse nebula project installation error
Goto Forum:
  


Current Time: Thu Nov 15 16:31:05 GMT 2018

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

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

Back to the top