Hi,
I have a Dialog class, which I use to upload files to a server. During the uploading process, I would like to display a progressbar (i.e. a rotating circle) over the dialog. This should...
Type: Posts; User: A.Rothe
Hi,
I have a Dialog class, which I use to upload files to a server. During the uploading process, I would like to display a progressbar (i.e. a rotating circle) over the dialog. This should...
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...
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) { ...
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....
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");
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...
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...
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...
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é
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...
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>...
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...
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...
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...
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é
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é
Add your own CSS file to your index.html and redefine
.x-tab-panel-header {
border: none;
}
André
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...
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...
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...
I have found it: the image was bigger than 16x16. I use now another image and it is visible.
Embarrassing, embarrassing...
André :">
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;
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é
I would add your treeGrid code into an Events.Show listener, which you could add to the MessageBox.getDialog().
André
Thank you, I have changed it and it works.