mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
Display comment of table data
This commit is contained in:
parent
621c527f27
commit
2d8d6ff510
2 changed files with 4 additions and 2 deletions
|
|
@ -21,8 +21,8 @@ limitations under the License.
|
|||
|
||||
<div id="{{paragraph.id}}_comment"
|
||||
class="text"
|
||||
ng-if="getResultType()=='TABLE' && paragraph.result.comment"
|
||||
ng-bind-html="paragraph.result.comment">
|
||||
ng-if="getResultType()=='TABLE' && tableDataComment"
|
||||
ng-bind-html="tableDataComment">
|
||||
</div>
|
||||
|
||||
<div id="{{paragraph.id}}_text"
|
||||
|
|
|
|||
|
|
@ -200,6 +200,7 @@
|
|||
tableData = new TableData();
|
||||
tableData.loadParagraphResult($scope.paragraph.result);
|
||||
$scope.tableDataColumns = tableData.columns;
|
||||
$scope.tableDataComment = tableData.comment;
|
||||
$scope.setGraphMode($scope.getGraphMode(), false, false);
|
||||
} else if ($scope.getResultType() === 'HTML') {
|
||||
$scope.renderHtml();
|
||||
|
|
@ -1691,6 +1692,7 @@
|
|||
tableData = new TableData();
|
||||
tableData.loadParagraphResult($scope.paragraph.result);
|
||||
$scope.tableDataColumns = tableData.columns;
|
||||
$scope.tableDataComment = tableData.comment;
|
||||
clearUnknownColsFromGraphOption();
|
||||
selectDefaultColsForGraphOption();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue