如何将智能 table 添加到 angular 应用程序
How to add smart table to angular application
我们项目中已经实现了jqgrid来查看tables,但是我想把实现从angularjs移到smarttable,这是我下面的参考结论
Best way to represent a Grid or Table in AngularJS with Bootstrap 3?
我想知道如何将智能 table 添加到我的 angular 应用程序,我已经从
下载了智能 table 源
http://lorenzofox3.github.io/smart-table-website/
有人提到要将此智能 table 添加到我们的应用程序中,我们必须编写
angular.module('myApp',['smart-table']
但是应用程序如何知道我的 smart-table 源代码在哪里,我的意思是我必须像这样提及路径吗??
<script LANGUAGE="JavaScript" type="text/javascript" src=" "></script>
我应该将 src 指向什么??
是的。
并且您应该将脚本标记放在 angular 模块的定义之前。
src 应该是您的 js 文件作为 Web 资源存储的位置。通常文件的相对路径或绝对路径都可以。
如果您使用 bower 或 npm 安装库,js 文件通常位于库文件夹的 'dist' 文件夹中。
我们项目中已经实现了jqgrid来查看tables,但是我想把实现从angularjs移到smarttable,这是我下面的参考结论
Best way to represent a Grid or Table in AngularJS with Bootstrap 3?
我想知道如何将智能 table 添加到我的 angular 应用程序,我已经从
下载了智能 table 源http://lorenzofox3.github.io/smart-table-website/
有人提到要将此智能 table 添加到我们的应用程序中,我们必须编写
angular.module('myApp',['smart-table']
但是应用程序如何知道我的 smart-table 源代码在哪里,我的意思是我必须像这样提及路径吗??
<script LANGUAGE="JavaScript" type="text/javascript" src=" "></script>
我应该将 src 指向什么??
是的。
并且您应该将脚本标记放在 angular 模块的定义之前。
src 应该是您的 js 文件作为 Web 资源存储的位置。通常文件的相对路径或绝对路径都可以。
如果您使用 bower 或 npm 安装库,js 文件通常位于库文件夹的 'dist' 文件夹中。