CellTree doesn't honour defaultNodeSize for root node list

2011-01-18 Thread Torgeir
I have a CellTree setup based on the ShowCase example, and am trying to have a large number of nodes as the root level, ie. a large number of categories. Setting the defaultNodeSize doesn't seem to have any effect though, it stays at 25. Does anyone know a workaround? -- You received this messag

Re: CellTree doesn't honour defaultNodeSize for root node list

2011-01-23 Thread Torgeir
On Jan 18, 11:17 pm, John LaBanca wrote: > This sounds like a bug.  Can you report an issue > athttp://code.google.com/p/google-web-toolkit/issues/list. Done, issue 5893; http://code.google.com/p/google-web-toolkit/issues/detail?id=5893 Any idea about any workaround? -- You received this m

celltree indentation

2011-01-24 Thread Torgeir
Am looking for a way to change the tree node indentation of a cell tree, but can't find any method, nor any css resource that seems to specify this, it's always fixed at 16px. Does anyone have a way of specifying this? -- You received this message because you are subscribed to the Google Groups

scroll to node in CellTree

2011-01-26 Thread Torgeir
It seems there's no way to ask for an item in a cellTree to scroll into view. Am wondering if it's possible to work around that by somehow getting the dom element that makes out the tree node's Cell instance, and scroll to that. Does any know any way to do this, or have any ideas how to do it

Re: scroll to node in CellTree

2011-01-27 Thread Torgeir
Additional information; it seems to work if the CellTree is not in a ScrollPanel, if I close an open the node. Once it's placed in a ScrollPanel, it doesn't work. Is there any other ways to scroll a CellTree? -- You received this message because you are subscribed to the Google Groups "Google

Re: scroll to node in CellTree

2011-01-27 Thread Torgeir
Additional information; it seems to work if the CellTree is not in a ScrollPanel, the currently focused cell will be scrolled into view. Once it's placed in a ScrollPanel, it doesn't work. So am looking for a way to set focus to a cell programmatically. -- You received this message because yo

gwt 2.2-M1 bug in CellTree

2011-01-27 Thread Torgeir
With GWT-2.2-M1, if you expand the root node of a cellTree before the viewModel has any data, it's impossible to expand the root node later. The onOpen() method of an OpenHandler is called, but the node is not actually expanded. -- You received this message because you are subscribed to the Go

Re: scroll to node in CellTree

2011-01-28 Thread Torgeir
Sorry, wrong information. The Celltree will scroll to the cell that currently has the focus, when calling cellTree.setFocus(true); I would be home free if there was a way to programmatically set which cell has the focus. -- You received this message because you are subscribed to the Google Gr

avoid row selection on cell click in CellTable

2011-02-01 Thread Torgeir
I have a CellTable with a MultiSelectionModel, and a selection checkbox in the first column, just as the CellTree sample in the GWT ShowCase. I have a problem in that when clicking on a cell in the table, eg a Cell of type SafeHtmlCell, the row is selected. I have tries using a different Column

Re: avoid row selection on cell click in CellTable

2011-02-01 Thread Torgeir
Thx, I also just found that simply having my Cells implementing the handlesSelection method fixes it; @Override public boolean handlesSelection() { return true; } -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, sen

suggestbox selection handler and keypress handler

2011-02-10 Thread Torgeir
Am looking for an easy way to avoid a keypress from the textbox of a suggestbox when the user selects an item from the suggested dropdown. I need to handle both in my application, but if the user selects an item from the suggested drop down, i want to avoid the event from the keydown handler o

CellTree can't have more than 512 child nodes?

2011-04-11 Thread Torgeir
It seems I've encountered a problem whereas a node in a CellTree having more than 512 children will only show those first 512 children. Is this a known limitation, or could the problem lie somewhere else? I use a ListDataProvider for the node in question, so I think the model itself isn't the