vaadin / framework

Vaadin 6, 7, 8 is a Java framework for modern Java web applications.
http://vaadin.com/
Other
1.78k stars 729 forks source link

Valo - Broken table header in IE10 #6091

Closed vaadin-bot closed 9 years ago

vaadin-bot commented 9 years ago

Originally by DimitriL


Provided a table is created using the code below, in IE10 the table header is broken if sorting is used (see screen shot).

[[BR]] The issue is not available if you remove the table.setColumnWidth() invocation.

     Table table = new Table("The Brightest Stars");
     table.setSizeFull();

     // Define two columns for the built-in container
     table.addContainerProperty("Name", String.class, null);
     table.addContainerProperty("Mag",  Float.class, null);
     table.addContainerProperty("Date", Date.class, null);

     // Add a row the hard way
     Object newItemId = table.addItem();
     Item row1 = table.getItem(newItemId);
     row1.getItemProperty("Name").setValue("Sirius");
     row1.getItemProperty("Mag").setValue(-1.46f);

     // Add a few other rows using shorthand addItem()
     table.addItem(new Object[]{"Canopus",        -0.72f, Date.valueOf("2015-01-01")}, 2);
     table.addItem(new Object[]{"Arcturus",       -0.04f, Date.valueOf("2014-12-02")}, 3);
     table.addItem(new Object[]{"Alpha Centauri", -0.01f, Date.valueOf("2014-12-03")}, 4);

     // Show exactly the currently contained rows (items)
     table.setPageLength(table.size());
     table.setSortEnabled(true);
     table.setColumnWidth("Name", 150);
     table.setColumnWidth("Date", 490);

     setContent(table);

Imported from https://dev.vaadin.com/ issue #15550

vaadin-bot commented 9 years ago

Originally by DimitriL


Attachment added: Broken+Table+Header.png (16.9 KiB) Broken Table Header.png https://trac-attachments.vaadin.com/trac/15550/Broken+Table+Header.png

vaadin-bot commented 9 years ago

Originally by artamonov


Also reproduced for me in 7.5 and in Vaadin Sampler http://demo.vaadin.com/sampler/#ui/grids-and-trees/table

vaadin-bot commented 9 years ago

Originally by artamonov


It seems it fixed in #15169, released in 7.5.2

vaadin-bot commented 9 years ago

Originally by @Legioth


15169