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 limitation.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



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 on the wrapped textbox.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



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 instance, and a different Cell 
instance, in order to avoid this selection, but nothing seems to work. Is 
there a way to only allow row selection through selecting items in the 
selection column?

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



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, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



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 Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



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 Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



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 you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



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 Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



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 better?

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



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 message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.