0
私のhandSonテーブルでは、テキストを1行にしか表示したくない場合は、さらにテキストが必要です。テキストを1行に続けて表示するには... handsonテーブルの動的カラム
$scope.textRenderer = function (instance, td, row, col, prop, value, cellProperties) {
if (cellProperties) {
var template;
template = ['<span style="white-space:nowrap; overflow:hidden;text-overflow: ellipsis;">' + value + '</span>'].join('');
while (td.firstChild) {
td.removeChild(td.firstChild);
}
if (!td.firstChild) {
td.appendChild($compile(template)($scope)[0]);
}
}
return td;
};
Iは、上記のコードを試みたが、省略記号は示されていません。
感謝します – user6649141