Merge pull request #13296 from resilient-tech/fix-col-heading

fix: set title attribute for grid header columns
This commit is contained in:
mergify[bot] 2021-05-25 09:52:32 +00:00 committed by GitHub
commit b7312545f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -316,6 +316,12 @@ export default class GridRow {
$col.field_area = $('<div class="field-area"></div>').appendTo($col).toggle(false);
$col.static_area = $('<div class="static-area ellipsis"></div>').appendTo($col).html(txt);
// set title attribute to see full label for columns in the heading row
if (!this.doc) {
$col.attr("title", txt);
}
$col.df = df;
$col.column_index = ci;