Search Type: Posts; User: A.Rothe
Search: Search took 0.03 seconds.
-
13 May 2013 2:42 AM
Jump to post Thread: ListField with EmptyText by A.Rothe
- 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>... -
3 May 2013 12:33 AM
- Replies
- 3
- Views
- 539
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...
-
2 May 2013 4:05 AM
Jump to post Thread: DualListField and labels by A.Rothe
- 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...
-
23 Apr 2013 10:48 AM
- Replies
- 3
- Views
- 539
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... -
23 Apr 2013 12:29 AM
Jump to post Thread: DualListField and labels by A.Rothe
- 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é -
16 Apr 2013 5:06 AM
Jump to post Thread: Whiteness by A.Rothe
- 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é -
16 Apr 2013 4:00 AM
- Replies
- 1
- Views
- 728
Add your own CSS file to your index.html and redefine
.x-tab-panel-header {
border: none;
}
André -
15 Apr 2013 3:21 AM
Jump to post Thread: Nested properties within ComboBox by A.Rothe
- Replies
- 1
- Views
- 255
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...
-
15 Apr 2013 3:04 AM
Jump to post Thread: Nested properties within ComboBox by A.Rothe
- Replies
- 1
- Views
- 255
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... -
4 Apr 2013 11:06 PM
Jump to post Thread: Image within Grid cell by A.Rothe
- 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... -
2 Apr 2013 2:44 AM
Jump to post Thread: Image within Grid cell by A.Rothe
- 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é :"> -
31 Mar 2013 4:22 AM
Jump to post Thread: Image within Grid cell by A.Rothe
- 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; -
29 Mar 2013 7:06 AM
Jump to post Thread: MessageBox.QUESTION on Dialog by A.Rothe
- 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é -
26 Mar 2013 11:35 AM
- Replies
- 3
- Views
- 519
I would add your treeGrid code into an Events.Show listener, which you could add to the MessageBox.getDialog().
André -
26 Mar 2013 1:05 AM
- Replies
- 2
- Views
- 314
Thank you, I have changed it and it works.
-
26 Mar 2013 12:52 AM
Jump to post Thread: MessageBox.QUESTION on Dialog by A.Rothe
- 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...
-
25 Mar 2013 6:18 AM
- Replies
- 2
- Views
- 314
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?... -
25 Mar 2013 2:41 AM
Jump to post Thread: MessageBox.QUESTION on Dialog by A.Rothe
- 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... -
28 Apr 2012 1:20 PM
- Replies
- 1
- Views
- 839
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... -
15 Mar 2012 11:47 PM
Jump to post Thread: Aggregation row by A.Rothe
- 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:... -
29 Feb 2012 6:48 AM
Jump to post Thread: Red edge on changed grid cells by A.Rothe
- 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... -
29 Feb 2012 5:57 AM
Jump to post Thread: Hashcode() and equals() by A.Rothe
- 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... -
29 Feb 2012 4:55 AM
- Replies
- 2
- Views
- 777
Try TreeStore.getRootItems() and TreeStore.getChildren(model, true) to build your own list. The method getModels() returns the same as getAllItems().
-
29 Feb 2012 4:31 AM
Jump to post Thread: Hashcode() and equals() by A.Rothe
- 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... -
29 Feb 2012 4:13 AM
- Replies
- 2
- Views
- 777
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
