@vitrosoftware/common-ui-ts 1.1.163 → 1.1.164

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -22034,12 +22034,24 @@ var TreeGrid = function TreeGrid(props) {
22034
22034
  }
22035
22035
  }
22036
22036
  if (visibleColumnNameList && visibleColumnNameList.length) {
22037
+ initGanttVisibleColumnList(tableView, visibleColumnNameList);
22037
22038
  var visibleColumnNameListJson = JSON.stringify(visibleColumnNameList);
22038
22039
  var _value = "VisibleColumnList='" + visibleColumnNameListJson + "'";
22039
22040
  newData = initData(newData, _value, 'B');
22040
22041
  }
22041
22042
  return newData;
22042
22043
  };
22044
+ var initGanttVisibleColumnList = function initGanttVisibleColumnList(tableView, visibleColumnNameList) {
22045
+ if (tableView.ganttCol) {
22046
+ var ganttColumnList = ["GanttStart", "GanttEnd", "GanttDescendants", "GanttAncestors", "GanttMinStart", "GanttMaxEnd"];
22047
+ for (var _i = 0, _ganttColumnList = ganttColumnList; _i < _ganttColumnList.length; _i++) {
22048
+ var col = _ganttColumnList[_i];
22049
+ if (tableView.ganttCol[col]) {
22050
+ visibleColumnNameList.push(tableView.ganttCol[col]);
22051
+ }
22052
+ }
22053
+ }
22054
+ };
22043
22055
  var onGridLoaded = function onGridLoaded(g, next) {
22044
22056
  g.IsReadOnly = props.readOnly;
22045
22057
  if (props.layout || props.data) {
@@ -63476,7 +63488,7 @@ var Viewer = function Viewer(props) {
63476
63488
  };
63477
63489
 
63478
63490
  var name = "@vitrosoftware/common-ui-ts";
63479
- var version$1 = "1.1.163";
63491
+ var version$1 = "1.1.164";
63480
63492
  var description = "vitro software common ui ts";
63481
63493
  var author = "";
63482
63494
  var license = "MIT";