details: https://code.openbravo.com/erp/devel/pi/rev/651aee1979d0
changeset: 17764:651aee1979d0
user: David Baz Fayos <david.baz <at> openbravo.com>
date: Fri Aug 24 18:33:48 2012 +0200
summary: Fixed issue 21451: [PNE] pin and checkbox columns are now frozen
diffstat:
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-pick-and-execute-grid.js
| 8 ++++++++
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-pick-and-execute-view.js
| 1 +
2 files changed, 9 insertions(+), 0 deletions(-)
diffs (36 lines):
diff -r 5dc78551e4d7 -r 651aee1979d0
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-pick-and-execute-grid.js
---
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-pick-and-execute-grid.js
Fri Aug 24 16:18:25 2012 +0200
+++
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-pick-and-execute-grid.js
Fri Aug 24 18:33:48 2012 +0200
@@ -51,6 +51,10 @@
// default selection
selectionProperty: 'obSelected',
+ shouldFixRowHeight: function () {
+ return true;
+ },
+
initWidget: function () {
var i, len = this.fields.length;
@@ -99,6 +103,10 @@
this.checkboxFieldDefaults = isc.addProperties(this.checkboxFieldDefaults,
{
canFilter: true,
+ frozen: true,
+ canFreeze: true,
+ showHover: true,
+ prompt: OB.I18N.getLabel('OBUIAPP_GridSelectAllColumnPrompt'),
filterEditorType: 'StaticTextItem'
});
diff -r 5dc78551e4d7 -r 651aee1979d0
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-pick-and-execute-view.js
---
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-pick-and-execute-view.js
Fri Aug 24 16:18:25 2012 +0200
+++
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-pick-and-execute-view.js
Fri Aug 24 18:33:48 2012 +0200
@@ -250,6 +250,7 @@
canSort: false,
canReorder: false,
canHide: false,
+ frozen: true,
canFreeze: false,
canDragResize: false,
canGroupBy: false,
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits