Search Type: Posts; User: assassin

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    1,514
    He,

    Use one store for both trees and put a filter on it to get the part of items for tree B. If you add an item to the store the trees will be both updated with the item.

    Regards,

    Rick
  2. Replies
    1
    Views
    1,414
    Let the store fill up with the use of the proxy and the loader in the view. Delete the store.add() function. This is done in the view because it has the responsibility of getting/showing data. The...
  3. Since RC 1.0b the removeAll and Width bugs are fixed. So with this version you can create a dynamic menu like this:



    final Menu dynamicMenu = new Menu();
    dynamicMenu.setAutoWidth(true);...
  4. Replies
    11
    Views
    4,801
    +1
  5. Replies
    3
    Views
    2,193
    Sorry for the double post. I only searched in the GXT community forums.
  6. Replies
    3
    Views
    2,193
    I don't know if I must post this in help or bugs but if I create a async tree with alot of nodes I get a Stack overflow error see error.jpg. The tree works fine after pressing ok.
  7. Hi,

    Just look at the API documentation of DataView:

    setOverStyle

    public void setOverStyle(java.lang.String overStyle) Sets the style name to be applied on mouse over (defaults to ...
  8. Maybe you can use:



    homeItem.addStyleName("cssClass");
    or
    homeItem.addStyleDependentName("cssClass");
    or
    homeItem.setStylePrimaryName("cssClass"); For more information look at GWT Api class...
  9. You can use the LabelField to show some information on your FormPanel.
  10. I didn't find a nice solution to but maybe you can use:



    store.commitChanges();
    myNode.setExpand(true);


    Regards,
    Rick
  11. You are wright you can also solve the problem by implementing the ListLoadConfig interface into your own extended basemodel class.
  12. Replies
    17
    Views
    4,986
    I think option 3 is the best option because it can take a long time before the new event system is implemented in GWT. Besides that an important qeustion would be if you gonna change your entire...
  13. Hi,

    A binder on a ComboBox is not needed because the values in the ComboBox are not editable. Use the following code to load data trough an RpcProxy.



    // data proxy
    // Edit...
  14. Replies
    17
    Views
    4,986
    @darrellmeyer
    Please look at the code listed below. It uses the Enum as type of an Event. The advantage of using Enum here is that I can't declare the same type of event for different events. As...
  15. Replies
    17
    Views
    4,986
    Why is the type of a Event Integer? The use of enum would be type safe and is also comparable.

    Regards,
    Rick
  16. The only solution i can think of if you don't want to use a store (which also can be loaded from a model in the memory) is to use the BeforeAdd (child) param; child.getText() method and search for a...
  17. Hi,

    I should do this with the help of a dataview. You can create a html template:
    just a div with a css class and the name of the button in it.

    You can simulate a button with css using...
  18. Look at the example of the async tree in the samples/demo:



    binder.setIconProvider(new ModelStringProvider<FileModel>() {

    public String getStringValue(FileModel model, String...
  19. Replies
    1
    Views
    1,554
    Hello,

    You can use the com.google.gwt.i18n.client.DateTimeFormat to be returned as i18n contstant or message. The datefield has a property setPropertyEditor where you can change the Dateformat...
  20. Dear reader,

    The selection event stops the loading of the dataview trough the loader. When I clear the line: -ModelData record = (ModelData) dataView.getSelection().get(0);- it loads the modeldata...
  21. Replies
    1
    Views
    1,378
    Why not use two stores and when the store data is changed the other store must be updated. You can do this with the DataChange event on the store.

    DataChange : TreeStoreEvent(store)
    Fires when...
  22. I don't really know if this is the solution of your problem but the following is listed in the api documentation:

    TableBinder

    public TableBinder(Table table,
    ListStore<M>...
  23. Replies
    2
    Views
    1,829
    Hi ballpen66,

    Which project do you start compiling because that is the project where you must inherit the other projects in the xml file. The inherit of GWT works different than normal inherits....
  24. Replies
    0
    Views
    1,875
    Dear Reader,

    I am testing EXT GWT for the use of projects in the future. I want to make a remote procedure call to get all the files of a folder. This works with GWT and sending back a String type...
Results 1 to 24 of 24