Hello,
a ListGrid doesn't respect the minWidth setting of a ListGridField when the the field has also a autoFitWidth setting.
Here is the example code:
The example is using Version v11.0p_2016-07-26/Pro Deployment (2016-07-26).
The ListGrid looks like this:

When setting the frozen attribute for the field, there ist also a problem with the width of the ListGrid:

This is a very simple example for a problem with the week view in a calendar I has told you over one month ago in this thread: http://forums.smartclient.com/forum/...-of-a-calendar
Please fix this problem, because it prevent us tu use the version 6.0.
Regards
Peter
a ListGrid doesn't respect the minWidth setting of a ListGridField when the the field has also a autoFitWidth setting.
Here is the example code:
Code:
public void onModuleLoad() {
VLayout layout = new VLayout();
layout.setWidth100();
layout.setHeight100();
layout.addMember(getListGrid());
layout.draw();
}
public ListGrid getListGrid () {
ListGrid listGrid = new ListGrid();
ListGridField labelField = new ListGridField("label", "Label");
labelField.setMinWidth(120);
//labelField.setFrozen(true);
labelField.setAutoFitWidth(true);
ListGridField otherField = new ListGridField("other", "Other");
otherField.setWidth("*");
listGrid.setFields(labelField, otherField);
ListGridRecord record = new ListGridRecord();
record.setAttribute("label", "Label");
record.setAttribute("other", "Other");
listGrid.setData(new Record[] {record});
return listGrid;
}
The ListGrid looks like this:
When setting the frozen attribute for the field, there ist also a problem with the width of the ListGrid:
This is a very simple example for a problem with the week view in a calendar I has told you over one month ago in this thread: http://forums.smartclient.com/forum/...-of-a-calendar
Please fix this problem, because it prevent us tu use the version 6.0.
Regards
Peter
Comment