Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    ListGrid filtereditor boolean bug

    Hi,

    I've found a bug in visualization of BooleanItem on filtereditor as last field. It always aligns to the left and ignores manual setting.

    Simple test case:
    Code:
    DataSource ds = new DataSource();
    ds.setClientOnly(true);
    
    ds.addField(new DataSourceTextField("display"));
    ds.addField(new DataSourceBooleanField("active1"));
    ds.addField(new DataSourceBooleanField("active2"));
    
    
    ListGrid listGrid = new ListGrid();
    listGrid.setWidth100();
    listGrid.setHeight100();
    listGrid.setDataSource(ds);
    listGrid.setShowFilterEditor(true);
    
    
    ListGridField fieldActive2 = new ListGridField("active2");
    fieldActive2.setAlign(Alignment.CENTER);
    
    listGrid.setFields(
    		new ListGridField("active1"),
    		new ListGridField("display"),
    		fieldActive2
    );
    		
    this.addChild(listGrid);
    If you change position of fieldActive2 it works fine, but on last position it does not.

    Tested on Chrome and Firefox.
    SmartGWT 4.1p (nightly 2014-07-18)
    GWT 2.6.0
    Attached Files

    #2
    Hi Isomorphic,

    I'm seeing the same behaviour in my application using v9.1p_2014-07-20 / GWT 2.6.1 in FF 26 (deployed and in development mode).

    I'm not setting an Alignment, but would expect the box to be centred by default.

    Best regards,
    Blama

    Comment


      #3
      We've now made a change to address this issue. Please try the next nightly build, dated July 29 or above

      Regards
      Isomorphic Software

      Comment

      Working...
      X