Quantcast
Channel: GoJS - Northwoods Software
Viewing all articles
Browse latest Browse all 7069

Skip dolayout call on commit transaction

$
0
0

@sreejit.p wrote:

Hi Team,

Is there any way to skip the call to TableLayout.prototype.doLayout = function(coll) on a particular commit transaction of matrix.

In my code below it automatically calls this function which creates issue

else if(nodeType == "MainHeader"){
foundNode = $scope.diagramOptions.getRowDefinition($scope.model.nodeDataArray[index].row);
$scope.model.startTransaction("resize Column");
minSize = $scope.model.nodeDataArray[index].minSize.split(" ");
$scope.model.setDataProperty(foundNode, 'height', parseInt(minSize[1]));
$scope.model.commitTransaction('resize Column');
}

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles