Tuesday, November 12, 2013

GWT DATAGRID CSS

Hola me podrian ayudar en como puedo modificar los estilos de Datagrid.
Encontre una forma que es esta

public interface DataGridResources extends DataGrid.Resources {
        @Source(value = { DataGrid.Style.DEFAULT_CSS, "com/openkm/frontend/public/dataGrid.css" })
        DataGrid.Style dataGridStyle();
    }

pero aparte de esta puedo hacerlo de otra forma.

por ejemplo como se cambia los estilos de un splitPanel

/* splitter layout*/
.gwt-SplitLayoutPanel-HDragger {
    background-image: url(img/separator_points.gif);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    cursor: col-resize;
    font-family: "Small Fonts";
    font-size: 4px;
    background-color: #E5E5E1;
    horizontal-align: 50%;
    border: 0px;
    width: 10px;
}

solo modifico esto y lo añado a mi estilo que esta añadido a todo mi proyecto.

Saludos espero se entienda


--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate