This website works better with JavaScript.
Home
Explore
Help
Sign In
anoopmb
/
frappe
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
feat: Add API to check all table rows
version-14
Suraj Shetty
5 years ago
parent
217e321fc2
commit
5bd5e02a30
1 changed files
with
3 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
frappe/public/js/frappe/form/controls/table.js
+ 3
- 0
frappe/public/js/frappe/form/controls/table.js
View File
@@ -102,5 +102,8 @@ frappe.ui.form.ControlTable = frappe.ui.form.Control.extend({
},
validate: function() {
return this.get_value();
},
check_all_rows() {
this.$wrapper.find('.grid-row-check')[0].click();
}
});
Write
Preview
Loading…
Cancel
Save