manolo / gwt-polymer-elements

Polymer Web Components for GWT. A collection of Material Design widgets for desktop and mobile.
Apache License 2.0
156 stars 49 forks source link

Vaadin-grid header-text not working #136

Open vitaliid opened 7 years ago

vitaliid commented 7 years ago

It looks like the value of attribute 'name' is rendered in header(just with first char uppercased) instead of 'header-text'

From demo project:

<v:VaadinGrid ui:field="grid" addStyleNames="fit" frozenColumns="1" columnReorderingAllowed="true" >
          <table>
            <colgroup>
              <col name="index" header-text="#" width='30' />
              <col name="name" header-text="Name" width="150" resizable=""/>
              <col name="address" header-text="Address" hidable="" sortable="" resizable=""/>
              <col name="city" header-text="City" sortable="" hidable="" resizable=""/>
              <col name="zip" header-text="ZIP" sortable="" hidable="" width='90' resizable=""/>
              <col name="state" header-text="State" sortable="" hidable="" resizable=""/>
              <col name="country" header-text="Country" sortable="" hidable="" resizable=""/>
            </colgroup>
          </table>
        </v:VaadinGrid>

Thanks!