Announcement

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

    IE9 BUG : Item colspan on DynamicForm

    Hello,

    I have an alignment issue in DynamicForm with colspan.
    It works fine on Firefox and Chrome, but not in IE9.
    I use the latest SmartGWT 3.1p.

    The HTML page has no doctype declaration (like in Showcase).

    Here is the standalone test case.

    Code:
    		VLayout mainLayout = new VLayout();
    		mainLayout.setWidth100();
    		mainLayout.setHeight100();
    
    		mainLayout.draw();
    
    		DynamicForm form1 = new DynamicForm();
    		form1.setRequiredTitleSuffix("");
    		form1.setTitleSuffix("");
    		form1.setTitleOrientation(TitleOrientation.LEFT);
    		form1.setTitleAlign(Alignment.LEFT);
    
    		form1.setNumCols(4);
    		form1.setWidth(500);
    		form1.setColWidths("*", 85, "*", 150);
    
    		form1.setFields(//
    				new TextItem("SOC_NOM", "Societe") {
    					{
    						setColSpan("3");
    						setWidth("*");
    						setRequired(true);
    					}
    				}, //
    				new TextItem("SOC_CP", "Code postal") {
    					{
    						setWidth(85);
    					}
    				}, new TextItem("SOC_VILLE", "Ville") {
    					{
    						setWidth("*");
    					}
    				}//
    		);
    
    		mainLayout.setMembers(form1);
    Using <!doctype html> the problem is also solved for IE9.
    Should I use <!doctype html> ?
    Why showcase do not use <!doctype html> ?

    Best regards,
    Constantin FEIER
    Attached Files
    Last edited by costy; 9 May 2013, 07:11. Reason: Add attached file

    #2
    Don't worry about the online Showcase (special concerns), the Showcase in the SDK and the FAQ tell you to use HTML5 DOCTYPE.

    Comment

    Working...
    X