c1gridview,用了 AllowVirtualScrolling以后,右面还有几列数据显示不出来,拖动滑...
c1gridview,用了 AllowVirtualScrolling以后,右面还有几列数据显示不出来,拖动滑块也不行<asp:Button ID="Button1" runat="server" Text="定期到期金额及账户数据下载" OnClick="Button1_Click" />
<wijmo:C1GridView ID="C1GridView1" runat="server" Height="600px" Width="100%" AllowColSizing="True" AllowVirtualScrolling="True" AutogenerateColumns="False" Culture="zh-CN"RowHeight="19" ScrollMode="Both" StaticColumnIndex="2" StaticRowIndex="-1" AllowSorting="True" FreezingMode="Both" HighlightCurrentCell="True">
<CallbackSettings Action="Scrolling" />
<ScrollingSettings Mode="Both" FreezingMode="Both" StaticColumnIndex="2">
<VirtualizationSettings Mode="Both" />
</ScrollingSettings>
<Columns>
<wijmo:C1Band HeaderText="定期到期金额及账户情况">
<Columns>
<wijmo:C1BoundField DataField="机构号" HeaderText="机构号" SortExpression="机构号">
</wijmo:C1BoundField>
<wijmo:C1BoundField DataField="机构名称" HeaderText="机构名称" SortExpression="机构名称" Width="160px">
</wijmo:C1BoundField>
<wijmo:C1Band HeaderText="06月">
<Columns>
<wijmo:C1BoundField DataField="定期到期余额06" HeaderText="余额" DataFormatString="n0" SortExpression="定期到期余额06">
</wijmo:C1BoundField>
<wijmo:C1BoundField DataField="定期到期账户数06" HeaderText="账户数" SortExpression="定期到期账户数06" DataFormatString="n0" Width="120px">
</wijmo:C1BoundField>
</Columns>
</wijmo:C1Band>
<wijmo:C1Band HeaderText="07月">
<Columns>
<wijmo:C1BoundField DataField="定期到期余额07" HeaderText="余额" SortExpression="定期到期余额07" DataFormatString="n0">
</wijmo:C1BoundField>
<wijmo:C1BoundField DataField="定期到期账户数07" HeaderText="账户数" SortExpression="定期到期账户数07" DataFormatString="n0" Width="120px">
</wijmo:C1BoundField>
</Columns>
</wijmo:C1Band>
<wijmo:C1Band HeaderText="08月">
<Columns>
<wijmo:C1BoundField DataField="定期到期余额08" HeaderText="余额" SortExpression="定期到期余额08" DataFormatString="n0">
</wijmo:C1BoundField>
<wijmo:C1BoundField DataField="定期到期账户数08" HeaderText="账户数" SortExpression="定期到期账户数08" DataFormatString="n0" Width="120px">
</wijmo:C1BoundField>
</Columns>
</wijmo:C1Band>
<wijmo:C1Band HeaderText="09月">
<Columns>
<wijmo:C1BoundField DataField="定期到期余额09" HeaderText="余额" SortExpression="定期到期余额09" DataFormatString="n0">
</wijmo:C1BoundField>
<wijmo:C1BoundField DataField="定期到期账户数09" HeaderText="账户数" SortExpression="定期到期账户数09" DataFormatString="n0" Width="120px">
</wijmo:C1BoundField>
</Columns>
</wijmo:C1Band>
<wijmo:C1Band HeaderText="10月">
<Columns>
<wijmo:C1BoundField DataField="定期到期余额10" HeaderText="余额" SortExpression="定期到期余额10" DataFormatString="n0">
</wijmo:C1BoundField>
<wijmo:C1BoundField DataField="定期到期账户数10" HeaderText="账户数" SortExpression="定期到期账户数10" DataFormatString="n0" Width="120px">
</wijmo:C1BoundField>
</Columns>
</wijmo:C1Band>
<wijmo:C1Band HeaderText="11月">
<Columns>
<wijmo:C1BoundField DataField="定期到期余额11" HeaderText="余额" SortExpression="定期到期余额11" DataFormatString="n0">
</wijmo:C1BoundField>
<wijmo:C1BoundField DataField="定期到期账户数11" HeaderText="账户数" SortExpression="定期到期账户数11" DataFormatString="n0" Width="120px">
</wijmo:C1BoundField>
</Columns>
</wijmo:C1Band>
<wijmo:C1Band HeaderText="12月">
<Columns>
<wijmo:C1BoundField DataField="定期到期余额12" HeaderText="余额" SortExpression="定期到期余额12" DataFormatString="n0">
</wijmo:C1BoundField>
<wijmo:C1BoundField DataField="定期到期账户数12" HeaderText="账户数" SortExpression="定期到期账户数12" DataFormatString="n0" Width="120px">
</wijmo:C1BoundField>
</Columns>
</wijmo:C1Band>
<wijmo:C1BoundField DataField="定期到期余额汇总" HeaderText="余额汇总" SortExpression="定期到期余额汇总" DataFormatString="n0">
</wijmo:C1BoundField>
<wijmo:C1BoundField DataField="定期到期账户数汇总" HeaderText="账户数汇总" SortExpression="定期到期账户数汇总" DataFormatString="n0" Width="120px">
</wijmo:C1BoundField>
</Columns>
</wijmo:C1Band>
</Columns>
</wijmo:C1GridView>
您好,按照您的设置我这边没有能重现的您的问题,如图:
<form id="form1" runat="server">
<div>
<wijmo:C1GridView ID="C1GridView1" runat="server" AllowVirtualScrolling="True" AutogenerateColumns="False" Culture="zh-CN"
DataKeyNames="EmployeeID" DataSourceID="SqlDataSource1" FreezingMode="Both" RowHeight="19" ScrollMode="None" StaticColumnIndex="2"
OnFiltered="C1GridView1_Filtered" OnFiltering="C1GridView1_Filtering" Height="200px" Width="100%">
<CallbackSettings Action="Scrolling" />
<ScrollingSettings Mode="Both" FreezingMode="Both" StaticColumnIndex="2">
<VirtualizationSettings Mode="Both" />
</ScrollingSettings>
<Columns>
<wijmo:C1BoundField DataField="EmployeeID" HeaderText="EmployeeID" ReadOnly="True" SortExpression="EmployeeID">
</wijmo:C1BoundField>
<wijmo:C1BoundField DataField="FirstName" HeaderText="FirstName" SortExpression="FirstName">
</wijmo:C1BoundField>
<wijmo:C1BoundField DataField="LastName" HeaderText="LastName" SortExpression="LastName">
</wijmo:C1BoundField>
<wijmo:C1BoundField DataField="Title" HeaderText="Title" SortExpression="Title">
</wijmo:C1BoundField>
<wijmo:C1BoundField DataField="TitleOfCourtesy" HeaderText="TitleOfCourtesy" SortExpression="TitleOfCourtesy">
</wijmo:C1BoundField>
<wijmo:C1BoundField DataField="BirthDate" HeaderText="BirthDate" SortExpression="BirthDate">
</wijmo:C1BoundField>
<wijmo:C1BoundField DataField="HireDate" HeaderText="HireDate" SortExpression="HireDate">
</wijmo:C1BoundField>
<wijmo:C1BoundField DataField="Address" HeaderText="Address" SortExpression="Address">
</wijmo:C1BoundField>
<wijmo:C1BoundField DataField="ReportsTo" HeaderText="ReportsTo" SortExpression="ReportsTo">
</wijmo:C1BoundField>
<wijmo:C1BoundField DataField="Notes" HeaderText="Notes" SortExpression="Notes">
</wijmo:C1BoundField>
<wijmo:C1BoundField DataField="Extension" HeaderText="Extension" SortExpression="Extension">
</wijmo:C1BoundField>
<wijmo:C1BoundField DataField="HomePhone" HeaderText="HomePhone" SortExpression="HomePhone">
</wijmo:C1BoundField>
<wijmo:C1BoundField DataField="Country" HeaderText="Country" SortExpression="Country">
</wijmo:C1BoundField>
<wijmo:C1BoundField DataField="PostalCode" HeaderText="PostalCode" SortExpression="PostalCode">
</wijmo:C1BoundField>
<wijmo:C1BoundField DataField="Region" HeaderText="Region" SortExpression="Region">
</wijmo:C1BoundField>
<wijmo:C1BoundField DataField="City" HeaderText="City" SortExpression="City">
</wijmo:C1BoundField>
</Columns>
<FilterSettings Mode="Custom" />
</wijmo:C1GridView>
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:C1NWindConnectionString %>" ProviderName="<%$ ConnectionStrings:C1NWindConnectionString.ProviderName %>" SelectCommand="SELECT , , , , , , , , , , , , , , , FROM "></asp:SqlDataSource>
</div>
</form>我测试的demo是正常的,您能否给我一个能呈现问题的demo我帮您检查一个问题。
页:
[1]