From: <Se...@us...> - 2010-02-24 22:09:57
|
Revision: 4336 http://jaffa.svn.sourceforge.net/jaffa/?rev=4336&view=rev Author: SeanZ Date: 2010-02-24 22:09:50 +0000 (Wed, 24 Feb 2010) Log Message: ----------- move the top checkbox in the lov combo lookup grid, because this checkbox does not function and it should not be there. Modified Paths: -------------- trunk/JaffaRIA/source/html/js/extjs/jaffa/finder/FinderGridPanel.js trunk/JaffaRIA/source/html/js/extjs/jaffa/form/FinderLovComboGrid.js Modified: trunk/JaffaRIA/source/html/js/extjs/jaffa/finder/FinderGridPanel.js =================================================================== --- trunk/JaffaRIA/source/html/js/extjs/jaffa/finder/FinderGridPanel.js 2010-02-24 20:00:08 UTC (rev 4335) +++ trunk/JaffaRIA/source/html/js/extjs/jaffa/finder/FinderGridPanel.js 2010-02-24 22:09:50 UTC (rev 4336) @@ -34,7 +34,7 @@ var cols = Ext.ux.clone(this.meta.finder.grid.columns); if (this.initialConfig.addCheckBox) { // used in LOV combo which needs to have a multi-row-select checkbox column - cols.unshift(new Ext.grid.CheckboxSelectionModel()); + cols.unshift(new Ext.grid.CheckboxSelectionModel(this.checkBoxColumnConfig)); } this.plugins.unshift( new Ext.ux.plugins.MetaColumns({ Modified: trunk/JaffaRIA/source/html/js/extjs/jaffa/form/FinderLovComboGrid.js =================================================================== --- trunk/JaffaRIA/source/html/js/extjs/jaffa/form/FinderLovComboGrid.js 2010-02-24 20:00:08 UTC (rev 4335) +++ trunk/JaffaRIA/source/html/js/extjs/jaffa/form/FinderLovComboGrid.js 2010-02-24 22:09:50 UTC (rev 4336) @@ -184,6 +184,7 @@ id: this.id + '_grid', meta: this.meta, addCheckBox: true, + checkBoxColumnConfig: {header:''}, selModel : new Jaffa.grid.MultiRowSelectionModel() }); grid.getStore().on('load', function(){ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |