在下面的代码中没有检查chech框。请检查我的代码。 [英] In this below code chech box was not checked.please check my code.

查看:111
本文介绍了在下面的代码中没有检查chech框。请检查我的代码。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

即时通讯使用此链接

---------------------

http://www.infragistics.com/samples/aspnet/data-grid/filtering-excel-style [ ^ ]

---------------------

这是我的代码

== =============

im using this link
---------------------
http://www.infragistics.com/samples/aspnet/data-grid/filtering-excel-style[^]
---------------------
this is my code
===============

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <script src="Script/jquery-1.11.1.min.js" type="text/javascript" >
         $(window).load(function () {
            $("#sampleContainer").addClass("filteringDropDown");
        });

    </script>
    <script src="Script/jquery.js" type="text/javascript">

        $(window).load(function () {
            $("#sampleContainer").addClass("filteringDropDown");
        });

    </script>
     <style type="text/css">
            .filteringDropDown
            {
              overflow: visible !important;
                }

         .igg_FilterRuleDropDown
         {
             min-width: 170px;
         }

         .igg_FilterCheckboxList
         {
             width: 100%;
         }

         #filterDDOkBtn, #filterDDCancelBtn
         {
             width: 75px;
         }
     </style>

</head>
<body>
    <form id="form1" runat="server">

 <div id="gridContainer" style="overflow:visible">
    <ig:WebDataGrid ID="WebDataGrid1" runat="server" AutoGenerateColumns="False" DataSourceID="SqlDataSource1"

        Width="100%" Height="425px" DataKeyFields="proj_id">
        <Columns>

            <ig:BoundDataField DataFieldName="proj_id" Key="proj_id">
                <Header Text="<%$ Resources:WebDataGrid, ColumnHeaderproj_id  %>" /></ig:BoundDataField>
            <ig:BoundDataField DataFieldName="proj_code" Key="proj_code">
              <Header Text="<%$ Resources:WebDataGrid, ColumnHeaderproj_code  %>" />
            </ig:BoundDataField>
            <ig:BoundDataField DataFieldName="proj_name" Key="proj_name">
                <Header Text="<%$ Resources:WebDataGrid, ColumnHeaderproj_name  %>" />
            </ig:BoundDataField>
            <ig:BoundDataField DataFieldName="proj_desc" Key="proj_desc">
                <Header Text="<%$ Resources:WebDataGrid, ColumnHeaderpproj_desc  %>" />
            </ig:BoundDataField>
        </Columns>
        <EditorProviders>
            <ig:TextBoxProvider ID="TextBoxProvider" />
        </EditorProviders>
       <Behaviors>
            <ig:Filtering Alignment="Top" Visibility="Visible" Enabled="true" FilterType="ExcelStyleFilter">
                <ColumnSettings>
                    <ig:ColumnFilteringSetting ColumnKey="proj_code" Enabled="true" />
                </ColumnSettings>
            </ig:Filtering>
        </Behaviors>

    </ig:WebDataGrid>
    </div>

      <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:vpay_dbConnectionString6 %>" OnInit="SqlDataSource1_Init"



             SelectCommand="SELECT [proj_id], [proj_code], [proj_name], [proj_desc] FROM [Project]"></asp:SqlDataSource>
    </form>
</body>
</html>

推荐答案

(窗口).load(function(){
(window).load(function () {


(#sampleContainer)。addClass(filteringDropDown);
});

< / script >
< script src = 脚本/ jquery。 js type = text / javascript >
("#sampleContainer").addClass("filteringDropDown"); }); </script> <script src="Script/jquery.js" type="text/javascript">


(窗口)。 load(function(){
(window).load(function () {


这篇关于在下面的代码中没有检查chech框。请检查我的代码。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆