Search Type: Posts; User: listirer

Search: Search took 0.03 seconds.

  1. Replies
    2
    Views
    1,284
    Thanks for the reply, I hoped in a simplest solution (via Java code).
  2. Problem fixed: I use setValue method disabling the firing change event for checkbox all, instead of setRawValue method.

    The snipped code fix:


    all.addListener(Events.Change, new...
  3. I have a CheckBoxGroup of some CheckBox and another CheckBox for select/deselect all CheckBox of CheckBoxGroup.
    How can I implements this?
    My code have some bug:


    public class...
  4. With this previous post I fix it.
  5. Replies
    2
    Views
    1,284
    In the ButtonBar of a Windows I would have a custom align: a Status align to left and the buttons align to right.

    This code align all the components to the right:


    Status status = new...
  6. I discovered the Record object useful for my purpose.
    This is the code:


    for(String id : IDS){
    MyObject obj = store.findModel(id);
    Record r = store.getRecord(obj);
    ...
  7. A workaround for that is:


    for(String id : IDS){
    store.findModel(id).setValue(DEFAULT_VALUE);
    }
    grid.getView().refresh(false);


    But for all the cells of the column don't will be market...
  8. Thanks, It works!
  9. I have crated a Dialog via MessageBox (prompt method) and added a KeyListener to the TextField.
    How can I simulate the pressed of button OK?
    The onButtonPressed method of Dialog is protected...

    ...
  10. I use an EditorGrid with a combo as column.


    final SimpleComboBox<MyValue> comboBox = new SimpleComboBox<MyValue>();
    comboBox.setEditable(false);...
  11. I have found the problem: I don't setted the ID to a ColumnConfig.
    The ID will be returned into findColumnIndex as dataIndex.
  12. I have a NullPointerException when I sorting store of an EditableGrid:

    00:00:58,717 [ERROR] Uncaught exception escaped
    java.lang.NullPointerException: null at...
  13. smiletolead thanks for the support!
    I have fixed:


    CellEditor comboEditor = new CellEditor(permissionComboBox) {

    @Override
    public Object preProcessValue(Object value) {
    if...
  14. TestDetail extends BeanModel, and EnumTest is a property of TestDetail.
    This works in my (little) experience when I add a combo into a form.
    Here, I add the combo into a CellEditor and the latter...
  15. Sorry, that is a typo, I have correct the previous post.
  16. Hi, I have a ClassCastException when try to recreate EditableGrid example.




    ....

    grid = new EditorGrid<TestDetail>(store, this.createColumnModel());
    grid.setBorders(true);...
  17. Replies
    2
    Views
    635
    It works!

    Thanks from a damned newbie...
  18. Replies
    2
    Views
    635
    How can I display the label of a TextField added into FieldSet?

    Example code:


    TextField<String> nameField = new TextField<String>();
    nameField.setName("name");...
  19. Replies
    1
    Views
    690
    Why I don't view the field label if I add a TextField into a FieldSet?
    Thanks
Results 1 to 19 of 19