feat(ColumnDesc): create column description in database and link it to visual behaviors

This commit is contained in:
Camille
2023-01-19 12:37:31 +01:00
parent 0a90fc0c7b
commit 009ebefd96
8 changed files with 49 additions and 14 deletions

View File

@@ -259,8 +259,7 @@ DetailView.prototype.buildFieldDom = function(field, row) {
dom.autoDispose(isCellActive),
kd.cssClass(function() { return 'detail_theme_field_' + self.viewSection.themeDef(); }),
dom('div.g_record_detail_label', kd.text(field.displayLabel)),
// TODO : show the real description
dom('div.g_record_detail_description', kd.text("Description testing")),
dom('div.g_record_detail_description', kd.text(field.description)),
dom('div.g_record_detail_value',
kd.toggleClass('scissors', isCopyActive),
kd.toggleClass('record-add', row._isAddRow),