Search Type: Posts; User: A.Rothe

Page 1 of 3 1 2 3

Search: Search took 0.03 seconds.

  1. Replies
    0
    Views
    588
    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>...
  2. 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...
  3. Replies
    1
    Views
    671
    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...
  4. 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...
  5. Replies
    1
    Views
    671
    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é
  6. Replies
    7
    Views
    1,342
    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é
  7. Add your own CSS file to your index.html and redefine


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

    André
  8. 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...
  9. 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...
  10. Replies
    3
    Views
    1,107
    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...
  11. Replies
    3
    Views
    1,107
    I have found it: the image was bigger than 16x16. I use now another image and it is visible.

    Embarrassing, embarrassing...
    André :">
  12. Replies
    3
    Views
    1,107
    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;
  13. Replies
    4
    Views
    384
    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é
  14. I would add your treeGrid code into an Events.Show listener, which you could add to the MessageBox.getDialog().

    André
  15. Thank you, I have changed it and it works.
  16. Replies
    4
    Views
    384
    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...
  17. Hi,

    I have seen in the code, that Window.initTools() is called during onRender(). Which is the earliest time, I can access Window.getHeader().getTools() and the call will not return an empty list?...
  18. Replies
    4
    Views
    384
    Hi,

    how I can add an image like MessageBox.QUESTION to an existing instance of Dialog? I have to use Dialog, because I need as superclass Window and not Object.

    Is that possible?
    Thanks a lot...
  19. Hi,

    I have an instance-based access control system, which prevents to calculation of the total number of records for a query. To get this information I have to fetch all records from the database...
  20. Replies
    1
    Views
    574
    Hi,

    How I can define my own algorithm to calculate the value of an aggregation row? I need some information from different columns of the grid, in example:

    colA: boolean
    colB: int
    colC:...
  21. Replies
    0
    Views
    332
    Hi,

    is it possible to set the red edge of an edited cell manually? I change a model and have to re-insert it into the store (see post...
  22. Replies
    1
    Views
    579
    It seems, that the following is a good workaround:

    1. find the model within the store
    2. save the index of the model
    3. remove the model
    4. change the model's properties
    5. re-insert the model...
  23. Try TreeStore.getRootItems() and TreeStore.getChildren(model, true) to build your own list. The method getModels() returns the same as getAllItems().
  24. Replies
    1
    Views
    579
    Hi,

    I have overwritten hashCode() and equals() for subclasses of BaseTreeModel and BaseModelData. It seems, that a lot of methods within TreeGrid and TreeStore go wrong. Both classes hold some...
  25. I think, in the API docs you can find, that store.getAllItems() returns a list of all models without any order...

    ~Andre
Results 1 to 25 of 66
Page 1 of 3 1 2 3