-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathapp.js
33 lines (31 loc) · 768 Bytes
/
app.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
var app = angular.module('app', ['ngTouch', 'ui.grid']);
app.controller('MainCtrl', ['$scope', function ($scope) {
$scope.gridConfig = {
enableCellEditOnFocus: false,
enableFiltering: true,
multiSelect: false,
enableGridMenu: true,
paginationPageSizes: [25, 50, 75],
paginationPageSize: 10,
data: [
{
"firstName": "Cox",
"lastName": "Carney",
"company": "Enormo",
"employed": true
},
{
"firstName": "Lorraine",
"lastName": "Wise",
"company": "Comveyer",
"employed": false
},
{
"firstName": "Nancy",
"lastName": "Waters",
"company": "Fuelton",
"employed": false
}
],
};
}]);