问题描述
Hi Every One我正在使用以下网格并使第二列在
右侧对齐,但它没有在右侧对齐。
I我使用的IE和客户端要求只是IE。但它在其他浏览器中工作正常。
< asp:GridView ID =gvThingsrunat =serverAutoGenerateColumns =false>
< columns>< asp:BoundField DataField =textHeaderText =TextItemStyle-Width =200/>
< asp:BoundField DataField =number1HeaderText =Number 1ItemStyle-Width =100px
ItemStyle- HorizontalAlign =RightHeaderStyle-HorizontalAlign = 右HeaderStyle-Width =100px/>
请任何一次可以帮我解决问题。
Hi Every One i am using the following grid and making the second column to be align at
right side but it is not getting alignment at right side.
I am using the IE and client requirement is only IE. But It Works fine in other browsers.
<asp:GridView ID="gvThings" runat="server" AutoGenerateColumns="false">
<columns><asp:BoundField DataField="text" HeaderText="Text" ItemStyle-Width="200" />
<asp:BoundField DataField="number1" HeaderText="Number 1" ItemStyle-Width="100px"
ItemStyle- HorizontalAlign="Right" HeaderStyle-HorizontalAlign="Right" HeaderStyle-Width="100px" />
Please any once could help me to solve the issue.
这篇关于gridview列内文本的右对齐未使文本右对齐。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!