Search Type: Posts; User: f.sauter

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Hi all,

    I've created an application using Sencha Cmd and want to start the app only after a external javascript file (defined in app.json as remote) has been loaded (google apis - which calls...
  2. Hey yes i figured this out. You can have a look at the ExtJS 3.3.1 Restful example. Or just use the following example code.

    Access the params on server side (php):


    $raw = '';
    $httpContent...
  3. Hey all,

    I have a problem to use the RestProxy together with a PHP backend.

    JS:


    ...
    Ext.regModel('Message', {
    fields: [
  4. Hi all,

    can you give me a tip on how I could add a ToolButton directly behind the heading text of a com.extjs.gxt.ui.client.widget.Header? I see no way to move a tool button which was added over...
  5. http://www.sencha.com/forum/showthread.php?89108-Specified-TreePanel-DropTarget

    I make use of showFeedback.
  6. Hi all,

    here is a small class which extends Portal - it can arrange portlets without specifying the column.

    add(Portlet portlet) -> forces to add the portlet in the column with the the fewest...
  7. I have found a solution (for my needs), maybe it helps someone:



    store.setMonitorChanges(true);
    TreeModel selectedItem = tree.getSelectionModel().getSelectedItem();
    store.move(selectedItem,...
  8. Hi all,

    I am looking for a way to tell the store that it should be sorted on the basis of the children array list index, instead of the sort property. Does anyone have a nice solution?

    Small...
  9. Replies
    5
    Views
    1,822
    or say
    myComponent.setLayoutOnChange(true) this should update the view after the add method aswell
  10. Replies
    4
    Views
    2,249
    Ok, that's a possibility. Perhaps you can set the visibility of the relevant members in the near future to protected, just to keep it simple.
  11. Replies
    4
    Views
    2,249
    Hi Sven, thanks for the quick reply.

    That's right, but not applicable!? "startColumns" is private and has no getter, getColumn(int x) is also private.
    The DragEvent, offers me only the...
  12. Replies
    4
    Views
    2,249
    Hey all,

    I am looking for a way to set the max number of rows (column items) in a Portal. I can't access the array list columns in Portal...

    Anybody know a possibility?
  13. Replies
    10
    Views
    3,791
    TreeStore<BaseTreeModel> store = new TreeStore<BaseTreeModel>();
    TreePanel<BaseTreeModel> panel = new TreePanel<BaseTreeModel>(store);
    panel.setAutoExpand(true);
    store.add(...);...
  14. Replies
    1
    Views
    826
    Okay, sry for the thread found solution:



    //findNode is protected in TreePanel so write ur own class with a method which calls findNode, in my case findNodeForMode
    Element element =...
  15. Replies
    2
    Views
    1,864
    Hi, you can change the icon element like this:




    BaseTreeModel model = myTree.getSelectionModel().getSelectedItem()
    //findNode is protected so write ur own class with a method which calls...
  16. Replies
    1
    Views
    826
    Hello everyone,

    i want to change the styles of a treenode in the treepanel view after drag and drop (really only the dropped node, without child nodes/leafs). E.g. change the color of the...
  17. http://www.extjs.com/forum/showthread.php?t=89108

    Try to use this class like in the class comment or override the method protected void showFeedback(DNDEvent event) by ur self.
  18. Replies
    2
    Views
    2,497
    You can say


    Portlet portlet = new Portlet();
    portlet.setLayoutOnChange(true);
    ...
    AsyncCallback..
    portlet.add(grid);
    ...
    setLayoutOnChange:
  19. Have the same problem with a collapsed BorderLayout ContentPanel which contains a TreePanel. Hope this is fixed aswell.
  20. Replies
    2
    Views
    897
    Very usefull in conjunction with the icons:
    http://code.google.com/p/google-web-toolkit/wiki/CssResource
  21. Replies
    2
    Views
    4,547
    Yes u are right, thanks for the hint! it should be possible to have more then one class as a key. will improve this (sometime in the near future..)

    Update 18.03.2010:
    added restriction class.
  22. Replies
    2
    Views
    4,547
    I had mostly the same problem like Serge Adda (http://www.extjs.com/forum/showthread.php?t=82158). We want to drag-and-drop some elements from tree T1 into tree T2 under certain allowed elements (ie...
  23. Replies
    1
    Views
    1,512
    I'm playing around with DND too.

    This seems to work for me fine (like in the example):


    @Override
    public void dragMove(final DNDEvent e) {
    ...
  24. Replies
    3
    Views
    1,480
    Thanks for your answer.

    It looks like I can only set the group of the whole tree. Is there a possibility of setting the group for each node individual according their instance?

    Edit:
    Wrote...
  25. Replies
    3
    Views
    1,480
    Hello,

    can someone give me an short example how to allow only some specified drop targets for a drag and drop event (tree to tree)? (e.g. if dropTarget instanceof MyModel yes else no). I think the...
Results 1 to 25 of 32
Page 1 of 2 1 2