Search:

Type: Posts; User: blay

Page 1 of 6 1 2 3 4

Search: Search took 0.03 seconds.

  1. Youre asking in GXT Forum. Ill suggest you to...

    Youre asking in GXT Forum. Ill suggest you to move this thread to the EXTJS one
  2. You have to 'play' with methods (setDirty) of the...

    You have to 'play' with methods (setDirty) of the record associated to the model.

    You can get that record by:


    store.getRecord(model)
  3. Replies
    2
    Views
    1,775

    Validate method of Field components should be...

    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
    3,339

    isnt something like XComboBox (search in the...

    isnt something like XComboBox (search in the forum) what youre looking for?
  5. Replies
    1
    Views
    3,257

    You can modify your gxt-all.css file ( or the one...

    You can modify your gxt-all.css file ( or the one youre importing in your page), adding something like this:


    .customCssClass .x-grid3-row-alt {
    background-color : #thecoloryouwant;
    }
    ...
  6. Replies
    1
    Views
    3,666

    Yes, its possible. You have to use a servlet,...

    Yes, its 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,245

    Yep, you can access to nested objects by "."....

    Yep, you can access to nested objects by ".".
    For example:

    columnConfig.setId("department.name")
  8. Replies
    0
    Views
    1,713

    Dynamic row height in grids

    My app has a grid which contains images (GWT Image widget) in one of its columns (via GridCellRenderer). As those images have different size, Id like each row have as height the height of the...
  9. Replies
    3
    Views
    7,909

    You have to add the listener but to the "header"...

    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. Thread: Empty Gxt Grid!

    by blay
    Replies
    1
    Views
    1,598

    The BaseModelData uses a map and no "regular...

    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

    Post is the model used in the Grid
  12. Yep, just define your custom exception (it should...

    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. Replies
    0
    Views
    1,422

    Listen events from a non child Window

    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,920

    No, there are not synchronous calls in GWT

    No, there are not synchronous calls in GWT
  15. Replies
    8
    Views
    1,920

    Just for pointing what was wrong. You invoked...

    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
    23,169

    No, the template is valid, but I guess you should...

    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
    4,018

    To set a value: comboBox.setValue(BeanModel) ...

    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,859

    here there is a solution: ...

    here there is a solution:

    http://www.sencha.com/forum/showthread.php?78908-How-to-add-an-empty-value-to-ComboBox

    Ive adapted it by extending comboBox in a custom class where I do two things:...
  19. Replies
    2
    Views
    988

    Waiting for any answer for this too!

    Waiting for any answer for this too!
  20. Replies
    7
    Views
    2,749

    Yes. You can add at the end of gxt-all.css (at...

    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. Thread: Complex bean

    by blay
    Replies
    1
    Views
    847

    I supppouse both Address and Employee extend...

    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. Replies
    4
    Views
    2,612

    final NumberFormat currency =...

    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
    8,323

    domEvent.setCancelled(true)

    domEvent.setCancelled(true)
  24. I suppouse you mean the index number and text...

    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. Replies
    7
    Views
    2,749

    Yep, as micgala says, just create your own .css...

    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 138
Page 1 of 6 1 2 3 4