Skip to main content



      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 05:57
Eclipse UserFriend
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 Jun 12 09:15:53 EDT 2025

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

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

Back to the top