added truncation configuration to table panel

This commit is contained in:
Rashid Khan
2013-08-07 13:20:20 -07:00
parent 0a4bd071cb
commit 514ef4b6bd
6 changed files with 23 additions and 9 deletions
+2 -2
View File
@@ -3,7 +3,7 @@
.table-doc-table {
margin-left: 0px !important;
overflow-y: auto;
overflow-x: auto;
overflow-x: scroll;
}
</style>
@@ -57,7 +57,7 @@
</thead>
<tbody ng-repeat="row in data | slice:panel.offset:panel.offset+panel.size" ng-class-odd="'odd'">
<tr ng-click="toggle_details(row)" class="pointer">
<td ng-repeat="field in panel.fields" ng-bind-html-unsafe="(row.highlight[field]||row._source[field]) | highlight"></td>
<td ng-repeat="field in panel.fields" ng-bind-html-unsafe="(row.highlight[field]||row._source[field]) | tableHighlight | tableTruncate:panel.trimFactor:panel.fields.length"></td>
</tr>
<tr ng-show="row.kibana.details">
<td colspan=1000>