Browse Source

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

fix: set title attribute for grid header columns
version-14
mergify[bot] 4 years ago
committed by GitHub
parent
commit
b7312545f2
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      frappe/public/js/frappe/form/grid_row.js

+ 6
- 0
frappe/public/js/frappe/form/grid_row.js 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;



Loading…
Cancel
Save