Search Type: Posts; User: A.Rothe

Page 1 of 3 1 2 3

Search: Search took 0.02 seconds.

  1. Replies
    4
    Views
    1,403
    This has nothing to do with the Groups, I guessed, that you use a base class within your Tree and you have to check its subclass instances with instanceof. So you have always nodes of the type of the...
  2. Replies
    3
    Views
    2,098
    I have used Orientation.HORIZONTAL only. In this case I have set the height and width with the following code:



    @Override
    protected void onResize(int width, int height) { ...
  3. Replies
    2
    Views
    1,242
    It seems to work with



    Button btn = new SplitButton(); btn.addStyleName("btn-icon-print");


    It is a little bit strange. The style name will be added to the "class" attribute of the element....
  4. Replies
    2
    Views
    1,242
    Hi,

    I try to add a class name to a SplitButton, but it doesn't work:



    Button btn = new SplitButton();
    btn.getElement().addClassName("btn-icon-print");
  5. Replies
    1
    Views
    1,651
    Hm, it seems to be trivial.

    I have looked into the GXT code to find out more about the rendering/attaching process. The TabPanel has a CardLayout, which renders the child widgets when the parent...
  6. I have written a similar thing with a TreeGrid: http://smo-visittest.appspot.com/ It's only a prototype to show a workflow. Choose the trial xyz from the combobox and D&D the visits to another...
  7. Replies
    1
    Views
    1,651
    Hi,

    I have a TabPanel which has multiple items. On every TabItem there are some fields. I have written a FormButtonBinding class, which monitors all the TabItems (which contain FormPanels). The...
  8. Replies
    3
    Views
    1,517
    Hm, I could get the StackTraceElement array within the listeners and look for FieldBinding.bind(). In such a case, I could prevent some data changes... Are there another ideas?

    André
  9. Replies
    3
    Views
    1,517
    Hi,

    I have a form, which uses field binding. Some fields of this form have change listeners to react on the user input (e.g. Radio buttons enable/disable/clear textfields or comboboxes). But I...
  10. Replies
    0
    Views
    2,028
    My ListField hasn't displayed the empty text, which I had set. I have created a subclass to get the correct behaviour. I use GXT 2.2.5.



    public class DefaultListView<M extends ModelData>...
  11. There could be a simpler solution, but I don't have enough experience to find another one. I'm also a pure Java programmer, JavaScript, CSS and HTML are terrible stuff and I try to avoid to work with...
  12. Replies
    3
    Views
    2,098
    I have created a subclass, which calls fields.clear() inside the constructor. So I can add new widgets to the underlying MultiField. In my application I need a horizontal dual list field, so I have...
  13. Hi,

    I have ModelData instances, which overwrite equals() and hashCode(). In the TreeGrid, it works fine, but I have problems with the SelectionModel. You use == and != to compare instances within...
  14. Replies
    3
    Views
    2,098
    Hi,

    I need a label above the "from" and "to" list, but I only see the label of the MultiField object. Is it possible to display the sub-labels too?

    Thank you
    André
  15. Replies
    7
    Views
    2,253
    Define a CSS rule in your own CSS file and overwrite the default rule from gxt-all.css:

    .x-tab-panel-body {
    background-color: transparent;
    }

    André
  16. Add your own CSS file to your index.html and redefine


    .x-tab-panel-header {
    border: none;
    }

    André
  17. This is a problem with the XTemplate of the Combobox list. The name of the property foo.bar is added to the template. Is there a possibility to escape the dot, that the template will not interpret it...
  18. Hi,

    I have a ModelData, which uses a property name "foo.bar". Because of the nested property functionality, I have defined a constructor, which executes setAllowNestedValues(false). I have set the...
  19. Replies
    3
    Views
    3,126
    The image was named as *_16.png, so I thought it is 16x16, but it was 32x32. So the
    IconHelper.createPath(String) always generate code for 16x16 images (see javadoc) and it seems that it returns...
  20. Replies
    3
    Views
    3,126
    I have found it: the image was bigger than 16x16. I use now another image and it is visible.

    Embarrassing, embarrassing...
    André :">
  21. Replies
    3
    Views
    3,126
    Hi,


    I try to display an image within a Grid cell, but it doesn't work. First I have an Enum, which defines an image for every code:




    public enum MyType {
    X, Y, Z;
  22. Replies
    4
    Views
    1,461
    You're right. Sometimes it is simpler to copy the whole code instead to parameterize an existing class....:D

    Btw, the missing questing was: How do I these things simpler...

    André
  23. I would add your treeGrid code into an Events.Show listener, which you could add to the MessageBox.getDialog().

    André
  24. Thank you, I have changed it and it works.
  25. Replies
    4
    Views
    1,461
    I work on a Desktop-based application, the window handling awaits always Window references to add and remove the windows on a central point. So I have to override all x-tool-close listener and also I...
Results 1 to 25 of 75
Page 1 of 3 1 2 3