Hello,
I am calling TreeGrid.setSelectionType(SelectionStyle.SINGLE);
but still my TreeGrid is able to select multiple TreeNodes (like SelectionStyle.MULTIPLE)
Am I doing something wrong?
Not clear. Post a standalone test case if you think you may have found a bug.
public class TreeGridMyBooks extends TreeGrid
{
public TreeGridMyBooks ()
{
setShowRoot (false);
setSelectionType(SelectionStyle.SINGLE);
}
}
public class PanMyBooks extends VLayout
{
private TreeGridMyBooks m_treeGridBooks;
public PanMyBooks ()
{
m_treeGridBooks = new TreeGridMyBooks();
addMember (m_treeGridBooks);
}
}
but still I am able to select many TreeNodes simultaneously
Hi Drakator,
A standalone test case is one that we can compile and run without making any changes. Posting such a test (along with the version you’re running in) makes it clear whether this is a framework bug or a problem in your application. Thanks.