diff --git a/desktop/common/js/utils.js b/desktop/common/js/utils.js index 1e99d132e3..94b3078f14 100644 --- a/desktop/common/js/utils.js +++ b/desktop/common/js/utils.js @@ -1149,6 +1149,75 @@ jeedomUtils.initDataTables = function(_selector, _paging, _searching,_init) { }) } +jeedomUtils.resizableTable = function(table) { + var row = table.getElementsByTagName('tr')[0], + cols = row ? row.children : undefined; + if (!cols) return; + table.style.overflow = 'hidden'; + var tableHeight = table.offsetHeight; + for (var i=0;i { diff --git a/desktop/modal/dataStore.management.php b/desktop/modal/dataStore.management.php index e2f67b1856..0f445e980f 100644 --- a/desktop/modal/dataStore.management.php +++ b/desktop/modal/dataStore.management.php @@ -131,6 +131,7 @@ paging: false, searchable: true, }) + jeedomUtils.resizableTable(document.getElementById('table_dataStore')); } }) }, diff --git a/docs/fr_FR/changelog.md b/docs/fr_FR/changelog.md index 59a2474a1c..656860e648 100644 --- a/docs/fr_FR/changelog.md +++ b/docs/fr_FR/changelog.md @@ -24,6 +24,8 @@ - Amélioration des sous types de commandes supportées sur les génériques type [LIEN](https://github.com/jeedom/core/pull/2797) - Correction d'un bug sur l'affichage des scénario et les commentaires lorsqu'on veut les masquer [LIEN](https://github.com/jeedom/core/pull/2790) +- Possibilité de rendre les colonnes des tableaux redimmensionnable (seulement la liste des variables pour le moment ca sera étendu à d'autre table si besoin) [text](https://github.com/jeedom/core/issues/2499) + >**IMPORTANT** > > Tout changement de moteur de cache entraine une remise a zéro de celui-ci il faut donc attendre ensuite que les modules renvoient les informations pour tout retrouver