您好,按照您的设置我这边没有能重现的您的问题,如图:
- <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 [EmployeeID], [FirstName], [LastName], [Title], [TitleOfCourtesy], [BirthDate], [HireDate], [Address], [ReportsTo], [Notes], [Extension], [HomePhone], [Country], [PostalCode], [Region], [City] FROM [Appointees]"></asp:SqlDataSource>
- </div>
- </form>
复制代码 我测试的demo是正常的,您能否给我一个能呈现问题的demo我帮您检查一个问题。
|