Skip to content

Commit

Permalink
optional watcher at task element
Browse files Browse the repository at this point in the history
  • Loading branch information
Lenin Martinez committed Jul 7, 2018
1 parent 46749d6 commit 3fd3ae9
Show file tree
Hide file tree
Showing 16 changed files with 2,224 additions and 80 deletions.
1 change: 1 addition & 0 deletions demo.le/demo.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ export default function ($scope, $timeout) {
$scope.scale = 'day'
$scope.algo = 'aksks'
$scope.selectedRow = undefined
$scope.watchRowTasks = false

$scope.templateRows = [{
type: 'tree',
Expand Down
9 changes: 5 additions & 4 deletions demo.le/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@
</md-slider-container>
</md-slider-container>

<md-input-container>
<!--md-input-container>
<md-select ng-model="selectedRow" ng-change="goToRow(selectedRow)">
<md-option ng-value="row.id" ng-repeat="row in data">{{ row.name }}</md-option>
</md-select>
</md-input-container>
<button type="button" style="width: 5em; text-align: left" class="btn btn-default" ng-model="scale" bs-options="s for s in ['minute', '5 minutes', 'hour', '3 hours', 'day', 'week', '2 weeks', 'month', 'quarter', '6 months', 'year']"
bs-select></button>
</md-input-container> -->
<!-- <button type="button" style="width: 5em; text-align: left" class="btn btn-default" ng-model="scale" bs-options="s for s in ['minute', '5 minutes', 'hour', '3 hours', 'day', 'week', '2 weeks', 'month', 'quarter', '6 months', 'year']"
bs-select></button> -->
<div gantt data="data"
api="registerApi"
auto-expand="autoExpand"
Expand All @@ -47,6 +47,7 @@
max-height="500"
view-scale="scale"
column-width="getColumnWidth(zoom)"
watch-row-tasks="watchRowTasks"

shrink-to-fit="shrinkToFit">
<gantt-recycler
Expand Down
345 changes: 344 additions & 1 deletion dist/angular-gantt-core.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 3fd3ae9

Please sign in to comment.