Search Type: Posts; User: blay

Page 1 of 5 1 2 3 4

Search: Search took 0.02 seconds.

  1. You´re asking in GXT Forum. I´ll suggest you to move this thread to the EXTJS one
  2. You have to 'play' with methods (setDirty) of the record associated to the model.

    You can get that record by:


    store.getRecord(model)
  3. 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,...
  4. Replies
    3
    Views
    2,843
    isn´t something like XComboBox (search in the forum) what you´re looking for?
  5. 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;
    }
    ...
  6. Replies
    1
    Views
    3,210
    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...
  7. Replies
    2
    Views
    1,101
    Yep, you can access to nested objects by ".".
    For example:

    columnConfig.setId("department.name")
  8. Replies
    0
    Views
    1,552
    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...
  9. Replies
    3
    Views
    6,855
    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)
    ...
  10. Replies
    1
    Views
    1,362
    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...
  11. Post is the model used in the Grid
  12. 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...
  13. 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...
  14. Replies
    8
    Views
    1,677
    No, there are not synchronous calls in GWT
  15. Replies
    8
    Views
    1,677
    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...
  16. Replies
    11
    Views
    18,857
    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...
  17. Replies
    3
    Views
    3,607
    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>...
  18. Replies
    2
    Views
    2,449
    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:...
  19. Replies
    2
    Views
    852
    Waiting for any answer for this too!
  20. 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...
  21. Replies
    1
    Views
    761
    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();...
  22. 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)
  23. Replies
    8
    Views
    7,088
    domEvent.setCancelled(true)
  24. 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...
  25. 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
Page 1 of 5 1 2 3 4