Hi Daniil... thanks a lot for your response...
The codes of grdSugestoes working fine... thanks...
But I have another gridPanel, declared into Window called wndDetails, (the gridPanel ID is grdPareceres), into a UserControl called Sugestoes_Details.ascx, and this gridPanel don't was modified with the changes in the css file...
CssFile:
#grdPareceres td.x-grid-cell-Parecer_Descricao {
overflow: hidden;
}
#grdPareceres td.x-grid-cell-Parecer_Descricao div.x-grid-cell-inner {
white-space: normal;
height: 28px;
}
#grdPareceres td.x-grid-cell-Parecer_IDUsuario_Nome {
overflow: hidden;
}
#grdPareceres td.x-grid-cell-Parecer_IDUsuario_Nome div.x-grid-cell-inner {
white-space: normal;
height: 28px;
}
#grdPareceres td.x-grid-cell-Parecer_Data {
overflow: hidden;
}
#grdPareceres td.x-grid-cell-Parecer_Data div.x-grid-cell-inner {
white-space: normal;
height: 28px;
}
In wndDetails, into Sugestoes_Details.ascx UserControl, I declare a Column Model of grdPareceres:
<ColumnModel runat="server">
<Columns>
<ext:DateColumn runat="server" ID="Parecer_Data" Text="Data" DataIndex="Data" Width="75px" Sortable="true" Format="dd/MM/yyyy" />
<ext:Column runat="server" ID="Parecer_IDUsuario_Nome" Text="Usuário" DataIndex="IDUsuario_Nome" Width="100px" Sortable="true" />
<ext:Column runat="server" ID="Parecer_Descricao" Text="Descrição" DataIndex="Descricao" Width="160px" Sortable="true" />
</Columns>
</ColumnModel>
in my aspx Page called Sugestoes.aspx, I link a Usercontrol Sugestoes_Details.ascx
<%@ Register src="Sugestoes_Details.ascx" tagname="DetailsWindow" tagprefix="superaWebControl" %>
and
<superaWebControl:DetailsWindow ID="wndSugestoesDetail" runat="server" />
Finally, I link the cssfile this way, only in my aspx page called Sugestoes.aspx
<head runat="server">
<title>Sugestões</title>
<link href="~/Resources/Styles/SuperaWeb.css" rel="stylesheet" type="text/css" />
<link href="~/Resources/Styles/ExtNet.css" rel="stylesheet" type="text/css" />
<script src="/scripts/utils.js" type="text/javascript"> </script>
<script src="/scripts/masks.js" type="text/javascript"> </script>
<script src="/scripts/validators.js" type="text/javascript"> </script>
<script src="/scripts/jsDate.js" type="text/javascript"> </script>
<ext:ResourcePlaceHolder ID="ResourcePlaceHolder1" runat="server" Mode="ScriptFiles"/>
<script src="/scripts/ExtJS.js" type="text/javascript"> </script>
</head>
I do not understand where I'm wrong, since it is the same way I changed the grdSugestoes GridPanel, and it worked well ...
If not asking too much, it could help me find my mistake?
Thanks for any help!