Skip to content

Commit

Permalink
Fix left column
Browse files Browse the repository at this point in the history
Use fixedColumns: { leftColumns: 1 } so can see DAG/user name when sccrolling horizontally.
  • Loading branch information
lsgs committed Oct 14, 2019
1 parent 2e0eef0 commit d31cc82
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions DAGSwitcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ protected function includeDAGPageJs() {
#dag-switcher-table tr.odd { background-color: #f1f1f1 !important; }
#dag-switcher-table tr.even { background-color: #fafafa !important; }
#dag-switcher-table td.highlight { background-color: whitesmoke !important; }
.DTFC_LeftBodyLiner { overflow-x: hidden; }
</style>
<script type="text/javascript" src="<?php echo $jsPath;?>"></script>
<script type="text/javascript">
Expand Down
2 changes: 1 addition & 1 deletion dag_user_config.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ var MCRI_DAG_Switcher_Config = (function(window, document, $, undefined) {
scrollY: "350px",
scrollCollapse: true,
fixedHeader: { header: true },
/* fixedColumns: { leftColumns: 1 }, this does weird things to the row colouring and you get overlapping cell wording when sorting on other columns */
fixedColumns: { leftColumns: 1 }, /*this does weird things to the row colouring and you get overlapping cell wording when sorting on other columns */
ajax: getTableRowsAjaxPath+'&rowoption='+rowoption,
columnDefs: [
{
Expand Down

0 comments on commit d31cc82

Please sign in to comment.