第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

ASP.NETMVC2.0在jqGrid中搜索的實現(xiàn)

ASP.NETMVC2.0在jqGrid中搜索的實現(xiàn)

偶然的你 2019-06-01 15:54:34
ASP.NETMVC2.0在jqGrid中搜索的實現(xiàn)嗨,我正在嘗試使用jqGrid中使用MVC 2在.NET中的單列搜索(VS 2008)-這是我到目前為止擁有的代碼,但我需要一個示例來匹配它,或者我缺少的一個提示jQuery("#list").jqGrid({     url: '/Home/DynamicGridData/',     datatype: 'json',     mtype: 'POST',     search: true,     filters: {         "groupOp":"AND",         "rules": [             {"field":"Message","op":"eq","data":"True"}         ]     },     multipleSearch: false,     colNames: [ 'column1', 'column2'],     colModel: [         { name: 'column1', index: 'column1', sortable: true, search: true,           sorttype: 'text', autoFit: true,stype:'text',           searchoptions: { sopt: ['eq', 'ne', 'cn']} },         { name: 'column2', index: 'column2', sortable: true,search: false,           sorttype: 'text', align: 'left', autoFit: true}],     pager: jQuery('#pager'),     rowNum: 10,     rowList: [10, 60, 100],     scroll: true,     sortname: 'column2',     sortorder: 'asc',     gridview: true,     autowidth: true,     rownumbers: true,     viewrecords: true,     imgpath: '/scripts/themes/basic/images',     caption: 'my data grid'});jQuery("#list").jqGrid('navGrid', '#pager', {add: false, edit: false, del: false},                        {}, {}, {}, { multipleSearch: true, overlay: false });//jQuery("#list").jqGrid('filterToolbar',                         {stringResult:true, searchOnEnter:true});jQuery("#list").jqGrid('navButtonAdd', '#pager',                       { caption: "Finding", title: "Toggle Search Bar",                         buttonicon: 'ui-icon-pin-s',                         onClickButton: function() { $("#list")[0].toggleToolbar() }                       });jQuery("#list").jqGrid = {     search : {         caption: "Search...",         Find: "Find",         Reset: "Reset",         odata : ['equal', 'not equal','contains'],         groupOps: [ { op: "AND", text: "all" }, { op: "OR", text: "any" } ],         matchText: " match",         rulesText: " rules"     }}                              });分頁有兩樣東西沒有出現(xiàn)并進行搜索,盡管我打開了搜索窗口,其中只有hte列1作為選項;單擊find時,它似乎加載了網(wǎng)格,但實際上沒有匹配我在文本框中鍵入的值。
查看完整描述

1 回答

  • 1 回答
  • 0 關注
  • 315 瀏覽

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網(wǎng)微信公眾號