2
Ich habe eine sehr große Menge von Daten, die horizontale Scroll auf der Seite passen müssen. Unterstützt UI Grid horizontales Scrollen für Datenbreiten jenseits der Seite?UI Grid - Horizontal Scroll funktioniert nicht für große Datenmenge
Plunker: http://plnkr.co/edit/WcdQyUNm4UNxjdyX6UDh?p=preview
css:
.grid {
width: 200px;
height: 250px;
}
js:
var app = angular.module('app', ['ngTouch', 'ui.grid']);
app.controller('MainCtrl', ['$scope', function ($scope) {
$scope.myData = [
{
"firstName": "Cox",
"lastName": "Carney",
"company": "Enormo",
"employed": true
},
{
"firstName": "Lorraine",
"lastName": "Wise",
"company": "Comveyer",
"employed": false
},
{
"firstName": "Nancy",
"lastName": "Waters",
"company": "Fuelton",
"employed": false
}
];
}]);