-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Saurabh Dome <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
b1d7574
commit bc1b62a
Showing
158 changed files
with
9,981 additions
and
9,291 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,70 +1,70 @@ | ||
Ext.define('MainHub.components.BaseGrid', { | ||
extend: 'Ext.grid.Panel', | ||
alias: 'widget.basegrid', | ||
Ext.define("MainHub.components.BaseGrid", { | ||
extend: "Ext.grid.Panel", | ||
alias: "widget.basegrid", | ||
|
||
requires: [ | ||
'MainHub.components.BaseGridController' | ||
], | ||
requires: ["MainHub.components.BaseGridController"], | ||
|
||
controller: 'basegrid', | ||
controller: "basegrid", | ||
|
||
height: Ext.Element.getViewportHeight() - 64, | ||
region: 'center', | ||
region: "center", | ||
padding: 15, | ||
|
||
viewConfig: { | ||
stripeRows: false | ||
stripeRows: false, | ||
// loadMask: false, | ||
// markDirty: false | ||
}, | ||
|
||
customConfig: { | ||
qualityCheckMenuOptions: [] | ||
qualityCheckMenuOptions: [], | ||
}, | ||
|
||
selModel: { | ||
type: 'spreadsheet', | ||
rowSelect: false | ||
type: "spreadsheet", | ||
rowSelect: false, | ||
}, | ||
|
||
sortableColumns: false, | ||
enableColumnMove: false, | ||
|
||
plugins: [ | ||
{ | ||
ptype: 'bufferedrenderer', | ||
ptype: "bufferedrenderer", | ||
trailingBufferZone: 100, | ||
leadingBufferZone: 100 | ||
leadingBufferZone: 100, | ||
}, | ||
{ | ||
ptype: 'rowediting', | ||
clicksToEdit: 1 | ||
ptype: "rowediting", | ||
clicksToEdit: 1, | ||
}, | ||
{ | ||
ptype: 'clipboard' | ||
ptype: "clipboard", | ||
}, | ||
{ | ||
ptype: 'gridfilters' | ||
} | ||
ptype: "gridfilters", | ||
}, | ||
], | ||
|
||
dockedItems: [{ | ||
xtype: 'toolbar', | ||
dock: 'bottom', | ||
items: [ | ||
'->', | ||
{ | ||
xtype: 'button', | ||
itemId: 'cancel-button', | ||
iconCls: 'fa fa-ban fa-lg', | ||
text: 'Cancel' | ||
}, | ||
{ | ||
xtype: 'button', | ||
itemId: 'save-button', | ||
iconCls: 'fa fa-floppy-o fa-lg', | ||
text: 'Save' | ||
} | ||
] | ||
}] | ||
dockedItems: [ | ||
{ | ||
xtype: "toolbar", | ||
dock: "bottom", | ||
items: [ | ||
"->", | ||
{ | ||
xtype: "button", | ||
itemId: "cancel-button", | ||
iconCls: "fa fa-ban fa-lg", | ||
text: "Cancel", | ||
}, | ||
{ | ||
xtype: "button", | ||
itemId: "save-button", | ||
iconCls: "fa fa-floppy-o fa-lg", | ||
text: "Save", | ||
}, | ||
], | ||
}, | ||
], | ||
}); |
Oops, something went wrong.