找回密码
 立即注册

QQ登录

只需一步,快速开始

mlcbjm
注册会员   /  发表于:2016-11-2 19:13:50
板凳
我也是在项目里不能用,开的demo测试的也不行,是不是依赖js不够啊图片不能上传
<!DOCTYPE html>
<html>
<head>
    <script src="scripts/angular.min.js" type="text/javascript"></script>
    <script src="scripts/wijmo.min.js" type="text/javascript"></script>
    <script src="scripts/wijmo.grid.min.js" type="text/javascript"></script>
    <script src="scripts/wijmo.angular.min.js" type="text/javascript"></script>
    <script src="scripts/app.js" type="text/javascript"></script>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
</head>
<body ng-app="app">
<div ng-controller="appCtrl">
    <!-- this is the grid -->
    <wj-flex-grid items-source="datas"  x-allow-add-new="true" x-new-row-at-top="true">
    </wj-flex-grid>
</div>
</body>
</html>
// declare app module
var app = angular.module('app', ['wj']);

// app controller provides data
app.controller('appCtrl', function appCtrl($scope) {
//1.datalists
    $scope.datas = [{
        name: '莫小贝'
    }, {
        name: '白展堂'
    }, {
        name: '佟湘玉'
    }, {
        name: '郭芙蓉'
    }];


})
;

回复 使用道具 举报
PawnPawnPawn
初级会员   /  发表于:2016-11-1 19:24:39
沙发
我这边试了Demo,新行就是在最上面。你那儿程序如果还有问题,可以发送一个Demo过来,我们帮您看看。

点评

我的新行在最底下  发表于 2016-11-2 19:15
回复 使用道具 举报
12
您需要登录后才可以回帖 登录 | 立即注册
返回顶部