Update frappe-datatable (#5404)

- dynamic row height
- fixes #5293
This commit is contained in:
Faris Ansari 2018-04-09 11:23:54 +05:30 committed by GitHub
parent eba4f4afe1
commit 6c2236c7d7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 1 deletions

View file

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

View file

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

View file

@ -870,6 +870,14 @@ frappe-datatable@^0.0.4:
lodash "^4.17.5"
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:
version "0.1.0"
resolved "https://registry.yarnpkg.com/frappe-gantt/-/frappe-gantt-0.1.0.tgz#0532d7f10bc4c905ad7dd1ef8e65c7457d13355f"