Angularjs 使用不同的输入使用智能表进行筛选

Angularjs 使用不同的输入使用智能表进行筛选,angularjs,smart-table,Angularjs,Smart Table,我一直在尝试将输入连接到智能表的过滤功能,而不使用isGlobalSearchActivated时显示的内置输入。我问过智能表的创建者这是否可行,但几天后没有收到他的回复。除了重新设置默认输入的样式外,你们中有人知道一种简单的方法吗?如果深入研究Smart-Table.debug.js文件,您会发现以下代码: angular.module("partials/globalSearchCell.html", []).run(["$templateCache", function($template

我一直在尝试将输入连接到智能表的过滤功能,而不使用
isGlobalSearchActivated
时显示的内置输入。我问过智能表的创建者这是否可行,但几天后没有收到他的回复。除了重新设置默认输入的样式外,你们中有人知道一种简单的方法吗?

如果深入研究Smart-Table.debug.js文件,您会发现以下代码:

angular.module("partials/globalSearchCell.html", []).run(["$templateCache", function($templateCache) {
  $templateCache.put("partials/globalSearchCell.html",
    "<div class=\"pull-left form-group\">\n" +
    "  <input type=\"text\" class=\"form-control\" placeholder=\"Search\" ng-model=\"searchValue\"/ style=\"margin: 0;\">\n" +
    "</div>");
}]);
angular.module(“partials/globalSearchCell.html”,[])。运行([“$templateCache”),函数($templateCache){
$templateCache.put(“partials/globalSearchCell.html”,
“\n”+
“\n”+
"");
}]);
只要有
ng model
指向
searchValue
,就可以将您想要的任何内容作为输入放在那里

如果你的情况比那更复杂,请告诉我