我正在开发一个JavaFX项目,该项目具有带动态数字或列(ObservableList)的TableView。我希望水平显示表格,以便col标题是行的开头,所有col值都在行中。见下图:
我曾想过将整个桌子旋转90°并单独进入每个单元并旋转90°,但我不确定TextFieldTableCell如何表现。任何帮助都会很棒,谢谢!
// do some check to see which user is signed in, in this case it's user1
$scope.currentUser = $scope.appUsers[0];
var i = 0;
angular.forEach($scope.currentUser.courses, function(courseId) {
var selectedCourse = $scope.appCourses.filter(function(course) {
return courseId === course.id;
})[0];
angular.merge($scope.currentUser.courses[i], selectedCourse); // adds all necessary course data to that user's courses array
i++;
});