TreeGrid or TableGrid?

2013-01-18 Thread Dmitry Tikhomirov
Hi All, 

I need any advice how to do that with GWT.
Its pretty easy with GXT but i cant find out how todo with gwt
Thanks! 

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/b2V9yOmkUgcJ.
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.



TreeGrid

2011-06-23 Thread Victor Costa Santiago
Hello good afternoon!
Need help from you guys regarding a question / problem ...
I have an XML like this


ABC 
1 
0 
WAS 


DEF 
2 
1 
Method 


GHI 
3 
2 
Object 


JLM 
4 
3 
Object 


NOP 
5 
4 
Parameter 


QRS 
6 
4 
Parameter 


Xml This is populating a data source to a treegrid. What I needed was the
following:
1 - the tree is the look of checkbox. This item I've ever done as the
showcase but wanted to see if there's only the leaves (leafs) of parameters
have the look of checkbox.
2 - need to have the same level of nodes / leaves to be checked the other
one is how deslecionado a radiobutton. This parameter in the case of the
leaves that are there and can occur over an object there that only allow one
selection.
3 - I used the feature selection cascade but only wanted to work as follows
when selecting a level below the root of this that would be just above that
were selected in casacata and not those who are below the hierarchy, not to
disrupt the Item 2.

Is that possible? I am two days ago and found no examples or methods on the
internet that can help me.

Thanks in advance!

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



Ext-GWT TreeGrid indirectly calls a GWT-RPC callback? Why?

2009-07-29 Thread Pandaman

I am using GWT-RPC to populate Ext-GWT TreeGrids with data from a
server. I am using 4 callbacks to populate 6 TreeGrids. As the
callback onSuccess function modifies the TreeGrid by inserting rows,
the TreeGridView needs to render the rows. The callback class is
called MainPnlSummaryTablesAsyncCallback.

For some reason, when it needs to determine the TreeGridView's
scroller's offsetHeight via JSNI, onSuccess or onFailure is called on
another instance of the callback in the stack trace. A copy of the
stack trace I encountered is below.

Isn't this really weird? Why is this happening?

FYI I am using Ext-GWT 2.0.1 and GWT 1.7.0 and I am using hosted mode
browser to debug this, although I am pretty sure that this is an issue
for web mode.


PnlSummaryClientDebug_as10node6 [Java Application]
com.google.gwt.dev.HostedMode at localhost:3595
Thread [main] (Suspended (breakpoint at line 403 in MainPage
$MainPnlSummaryTablesAsyncCallback))
MainPage$8(MainPage
$MainPnlSummaryTablesAsyncCallback).onSuccess
(GWTPair) line:
403
MainPage$8(MainPage
$MainPnlSummaryTablesAsyncCallback).onSuccess(Object) line: 1
RequestCallbackAdapter.onResponseReceived(Request,
Response) line: 215
Request.fireOnResponseReceivedImpl(RequestCallback) line:
264
Request.fireOnResponseReceivedAndCatch(GWT
$UncaughtExceptionHandler, RequestCallback) line: 236
Request.fireOnResponseReceived(RequestCallback) line:
227
NativeMethodAccessorImpl.invoke0(Method, Object, Object[])
line: not available [native method] [local variables unavailable]
NativeMethodAccessorImpl.invoke(Object, Object[]) line:
39
DelegatingMethodAccessorImpl.invoke(Object, Object[])
line: 25
Method.invoke(Object, Object...) line: 597
MethodAdaptor.invoke(Object, Object...) line: 103
IDispatchImpl.callMethod(CompilingClassLoader, Object,
Variant[], MethodAdaptor) line: 126
IDispatchProxy.invoke(int, int, Variant[]) line: 155
IDispatchProxy(IDispatchImpl).Invoke(int, int, int, int,
int, int, int, int) line: 294
IDispatchProxy(IDispatchImpl).method6(int[]) line: 194
COMObject.callback6(int[]) line: 117
COM.VtblCall(int, int, int, GUID, int, int, DISPPARAMS,
int, EXCEPINFO, int[]) line: not available [native method]
IDispatch.Invoke(int, GUID, int, int, DISPPARAMS, int,
EXCEPINFO, int[]) line: 64
OleAutomation.invoke(int, int, Variant[], int[], Variant)
line: 493
OleAutomation.invoke(int, Variant[]) line: 417
ModuleSpaceIE6.doInvokeOnWindow(OleAutomation, String,
Variant[]) line: 68
ModuleSpaceIE6.doInvoke(String, Object, Class[], Object
[]) line: 153
ModuleSpaceIE6(ModuleSpace).invokeNative(String, Object,
Class[], Object[]) line: 453
ModuleSpaceIE6(ModuleSpace).invokeNativeInt(String,
Object, Class[], Object[]) line: 207
JavaScriptHost.invokeNativeInt(String, Object, Class[],
Object[]) line: 75
Element$.getOffsetHeight$(Element) line: not available
El.getHeight(boolean) line: 984
TreeGridView(BufferView).getVisibleRowCount() line:
313
TreeGridView(BufferView).doRender(List,
List, int, int, boolean, boolean) line: 189
TreeGridView(BufferView).doRender(List,
List, int, int, boolean) line: 181
TreeGridView(GridView).renderRows(int, int) line: 1559
TreeGridView(GridView).insertRows(ListStore,
int, int, boolean) line: 1242
TreeGridView(GridView).onAdd(ListStore,
List, int) line: 1293
GridView$5.storeAdd(StoreEvent) line: 1179
GridView$5(StoreListener).handleEvent(StoreEvent)
line: 22
GridView$5(StoreListener).handleEvent(BaseEvent) line:
1
    TreeGrid$2(BaseObservable).callListener
(Listener, BaseEvent) line: 176
    TreeGrid$2(BaseObservable).fireEvent(EventType, BaseEvent)
line: 96
    TreeGrid$2(ListStore).insert(List, int,
boolean) line: 467
    TreeGrid$2(ListStore).insert(List, int)
line: 266
TreeGrid.onAdd(TreeStoreEvent) line: 430
    TreeGrid$1.storeAdd(StoreEvent) line: 123
    TreeGrid$1(StoreListener).handleEvent(StoreEvent)
line: 22
    TreeGrid$1(StoreListener).handleEvent(BaseEvent) line:
1
TreeStore(BaseObservable).callListener
(Listener, BaseEvent) line: 176
TreeStore(BaseObservable).fireEvent(EventType,
BaseEvent) line: 96
TreeStore.doInsert(TreeModel, List, int,
boolean, boolean) line: 799
TreeStore.insert(List, int, boolean) line: 493
TreeStore.add(List, boolean) line: 163
TreeStore.add(M, boolean) line: 174
PnlClientFactory.populatePnlDataTreeStore
(AggregateStringGWTTable, TreeStore) line: 42
MainPage$9(MainPage
$MainPnlSummaryTablesAsyncCall