Przeglądaj źródła

Update frappe-datatable (#5404)

- dynamic row height
- fixes #5293
version-14
Faris Ansari 7 lat temu
committed by GitHub
rodzic
commit
6c2236c7d7
Nie znaleziono w bazie danych klucza dla tego podpisu ID klucza GPG: 4AEE18F83AFDEB23
3 zmienionych plików z 10 dodań i 1 usunięć
  1. +1
    -0
      frappe/public/js/frappe/views/reports/report_view.js
  2. +1
    -1
      package.json
  3. +8
    -0
      yarn.lock

+ 1
- 0
frappe/public/js/frappe/views/reports/report_view.js Wyświetl plik

@@ -148,6 +148,7 @@ frappe.views.ReportView = class ReportView extends frappe.views.ListView {
columns: this.columns, columns: this.columns,
data: this.get_data(values), data: this.get_data(values),
getEditor: this.get_editing_object.bind(this), getEditor: this.get_editing_object.bind(this),
dynamicRowHeight: true,
events: { events: {
onRemoveColumn: (column) => { onRemoveColumn: (column) => {
this.remove_column_from_datatable(column); this.remove_column_from_datatable(column);


+ 1
- 1
package.json Wyświetl plik

@@ -18,7 +18,7 @@
"dependencies": { "dependencies": {
"cookie": "^0.3.1", "cookie": "^0.3.1",
"express": "^4.16.2", "express": "^4.16.2",
"frappe-datatable": "^0.0.4",
"frappe-datatable": "frappe/datatable",
"frappe-gantt": "^0.1.0", "frappe-gantt": "^0.1.0",
"fuse": "^0.4.0", "fuse": "^0.4.0",
"fuse.js": "^3.2.0", "fuse.js": "^3.2.0",


+ 8
- 0
yarn.lock Wyświetl plik

@@ -870,6 +870,14 @@ frappe-datatable@^0.0.4:
lodash "^4.17.5" lodash "^4.17.5"
sortablejs "^1.7.0" sortablejs "^1.7.0"


frappe-datatable@frappe/datatable:
version "0.0.4"
resolved "https://codeload.github.com/frappe/datatable/tar.gz/4bb400230087fbf97e8587a34916e14f77fa01cd"
dependencies:
clusterize.js "^0.18.0"
lodash "^4.17.5"
sortablejs "^1.7.0"

frappe-gantt@^0.1.0: frappe-gantt@^0.1.0:
version "0.1.0" version "0.1.0"
resolved "https://registry.yarnpkg.com/frappe-gantt/-/frappe-gantt-0.1.0.tgz#0532d7f10bc4c905ad7dd1ef8e65c7457d13355f" resolved "https://registry.yarnpkg.com/frappe-gantt/-/frappe-gantt-0.1.0.tgz#0532d7f10bc4c905ad7dd1ef8e65c7457d13355f"


Ładowanie…
Anuluj
Zapisz