Search Type: Posts; User: blay
Search: Search took 0.03 seconds.
-
6 Jul 2011 1:55 AM
- Replies
- 2
- Views
- 670
You´re asking in GXT Forum. I´ll suggest you to move this thread to the EXTJS one
-
21 Jun 2011 8:11 AM
- Replies
- 9
- Views
- 3,596
You have to 'play' with methods (setDirty) of the record associated to the model.
You can get that record by:
store.getRecord(model) -
7 Jun 2011 1:07 AM
- Replies
- 2
- Views
- 1,236
Validate method of Field components should be used to check if that component satifies all restrictions setted to it. For example:
comboBox.setAllowBlank(false);
If combobox has no value,... -
3 Jun 2011 2:51 AM
Jump to post Thread: Who make checkbox inside combobox? by blay
- Replies
- 3
- Views
- 1,701
isn´t something like XComboBox (search in the forum) what you´re looking for?
-
3 Jun 2011 2:48 AM
- Replies
- 1
- Views
- 1,828
You can modify your gxt-all.css file ( or the one you´re importing in your page), adding something like this:
.customCssClass .x-grid3-row-alt {
background-color : #thecoloryouwant;
}
... -
30 May 2011 7:10 AM
Jump to post Thread: How to download file in GXT by blay
- Replies
- 1
- Views
- 2,164
Yes, it´s possible.
You have to use a servlet, which listens to GET/POST requests (which will be sent using a Form Panel, that will invoke its 'submit()' method when clicking on the button).
All... -
22 May 2011 4:48 AM
Jump to post Thread: ColumnConfig with complex class by blay
- Replies
- 2
- Views
- 728
Yep, you can access to nested objects by ".".
For example:
columnConfig.setId("department.name") -
10 May 2011 8:03 AM
Jump to post Thread: Dynamic row height in grids by blay
- Replies
- 0
- Views
- 1,050
My app has a grid which contains images (GWT Image widget) in one of its columns (via GridCellRenderer). As those images have different size, I´d like each row have as height the height of the...
-
5 May 2011 2:20 AM
Jump to post Thread: Grid column-header click-event by blay
- Replies
- 3
- Views
- 4,209
You have to add the listener but to the "header" Widget, not to the column.
It would be something like the following code (I have not tested it, so maybe you have to try a little bit)
... -
15 Apr 2011 6:58 AM
Jump to post Thread: Empty Gxt Grid! by blay
- Replies
- 1
- Views
- 934
The BaseModelData uses a map and no "regular attributes". So your getters and setters should be like:
public Type getAttributeA(){
return get("attributeA");
}
public void... -
15 Apr 2011 6:56 AM
- Replies
- 2
- Views
- 718
Post is the model used in the Grid
-
15 Apr 2011 6:52 AM
- Replies
- 4
- Views
- 1,967
Yep, just define your custom exception (it should extend IsSerializable class) and in the signature of the method in your service you have to declare that exception can be thrown.
In the... -
12 Apr 2011 4:04 AM
- Replies
- 0
- Views
- 977
Hello:
This is the situation. I have a class that extends layoutContainer with some buttons which open a different "popUp" Window when clicked. Those Windows, when closed, should reload data in a... -
6 Apr 2011 3:43 AM
Jump to post Thread: ListStore.findModel is null by blay
- Replies
- 8
- Views
- 1,198
No, there are not synchronous calls in GWT
-
31 Mar 2011 11:05 PM
Jump to post Thread: ListStore.findModel is null by blay
- Replies
- 8
- Views
- 1,198
Just for pointing what was wrong.
You invoked load method but as it is an asynchronous call, when the "findModel" method is executed, data may be not returned yet.
Adding the listener to the... -
30 Mar 2011 8:44 AM
- Replies
- 9
- Views
- 9,212
No, the template is valid, but I guess you should change this:
'<div class="x-combo-list-item" qtip="{text}" qtitle="">{text}</div>',
because that should be the displayField of your comboBox... -
30 Mar 2011 5:43 AM
Jump to post Thread: ComboBox, set default value by blay
- Replies
- 3
- Views
- 2,426
To set a value:
comboBox.setValue(BeanModel)
You can override the "setStore" method, so when the store its set you set the first value:
@Override
public void setStore(ListStore<D>... -
30 Mar 2011 12:02 AM
Jump to post Thread: Combobox empty value by blay
- Replies
- 2
- Views
- 1,522
here there is a solution:
http://www.sencha.com/forum/showthread.php?78908-How-to-add-an-empty-value-to-ComboBox
I´ve adapted it by extending comboBox in a custom class where I do two things:... -
28 Mar 2011 6:07 AM
Jump to post Thread: Tabbing Issue on EditorGrid by blay
- Replies
- 2
- Views
- 557
Waiting for any answer for this too!
-
17 Mar 2011 12:46 AM
- Replies
- 7
- Views
- 1,693
Yes. You can add at the end of gxt-all.css (at the end, in order to override GXT styles)
.x-grid3-hd-inner{
whateveryouwant;
}
or (an option I prefer), create your own CSS file, with just... -
16 Mar 2011 4:46 AM
Jump to post Thread: Complex bean by blay
- Replies
- 1
- Views
- 606
I supppouse both Address and Employee extend ModelData. You can access nested values by "." operator and the name of the properties.
Example:
ColumnConfig cc = new ColumnConfig();... -
16 Mar 2011 12:54 AM
- Replies
- 4
- Views
- 1,672
final NumberFormat currency = NumberFormat.getCurrencyFormat();
Uses the currency symbol of your locale (you should set locales you want to use in your gwt.xml file) -
16 Mar 2011 12:52 AM
Jump to post Thread: Stopping Event Propagation by blay
- Replies
- 8
- Views
- 3,473
domEvent.setCancelled(true)
-
15 Mar 2011 4:19 AM
- Replies
- 4
- Views
- 3,857
I suppouse you mean the index number and text value of the "item" selected.
You can get the "item" selected by
comboBox.getValue(). Then get the value of the property set as "DisplayField" in... -
15 Mar 2011 3:37 AM
- Replies
- 7
- Views
- 1,693
Yep, as micgala says, just create your own .css file where your override those css classes (you can figure out which ones are by IE developer tool or Firebug). Take care of importing the css file...
Results 1 to 25 of 111
