Announcement

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

    DateField does not Align in listgrid

    1. SmartGWT 2.5

    2. SmartClient Version: SC_SNAPSHOT-2011-07-12/Pro Deployment (built 2011-07-12)

    3. FireFox Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.7; en-US; rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6


    entityListGrid = new ListGrid();
    entityListGrid.setAlign(Alignment.LEFT);
    ListGridField nameField = new ListGridField("NAME", "Name");
    ListGridField createdField = new ListGridField("CREATIONDATE","Created");
    ListGridField descriptionField = new ListGridField("DESCRIPTION", "Description");



    entityListGrid.setFields(nameField,createdField,descriptionField);

    This will align the date data but not the Field title

    //createdField.setCellAlign(Alignment.LEFT);

    #2
    There are separate APIs for setting cellAlign vs align.

    Note wrong forum (SmartClient not SmartGWT). We'll move the thread.

    Comment

    Working...
    X