1. #191
    Ext User
    Join Date
    May 2009
    Posts
    214
    Vote Rating
    0
    Maxrunner is on a distinguished road

      0  

    Default


    ive downloaded the ext3.0 version of this, but i still get the disaligned columns in chrome.....any input?

  2. #192
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,251
    Vote Rating
    73
    Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold

      0  

    Default


    I've already updated my private versions:
    For the correct fix you should replace the 'Ext.isBorderBox' check with 'Ext.isBorderBox || (Ext.isWebKit && !Ext.isSafari2)' (in both getColumnWidth and getGroupStyle).

  3. #193
    Ext User
    Join Date
    May 2009
    Posts
    214
    Vote Rating
    0
    Maxrunner is on a distinguished road

      0  

    Default


    Quote Originally Posted by Condor View Post
    I've already updated my private versions:
    For the correct fix you should replace the 'Ext.isBorderBox' check with 'Ext.isBorderBox || (Ext.isWebKit && !Ext.isSafari2)' (in both getColumnWidth and getGroupStyle).
    ive only found the 'Ext.isBorderBox' in the getGroupStyle property in the return statement:

    Code:
    return {
    			width: (Ext.isBorderBox ||(Ext.isWebKit && !Ext.isSafari2)? width : Math.max(width - this.borderWidth, 0)) + 'px',
    			hidden: hidden
    		};

    Didnt found the getColumnWidth property. i assume this should be changed in the ext-all.js file?
    But ive changed this, and it seems to be working with chrome now....thanks.

  4. #194
    Ext User
    Join Date
    May 2009
    Posts
    214
    Vote Rating
    0
    Maxrunner is on a distinguished road

      0  

    Default


    seeing i got no response in the 3.0 help of this plugin, might just as well post it here. This plugin is working with the exception of the header menu to hide/show the columns, i get an error if i leave the hierarquicalColMenu to true:

    "menu.items is undefined".

  5. #195
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,251
    Vote Rating
    73
    Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold

      0  

    Default


    Sorry, normally I would try to answer your question quickly, but I'm going to be unavailable until Tuesday. Can it wait?

  6. #196
    Ext User
    Join Date
    May 2009
    Posts
    214
    Vote Rating
    0
    Maxrunner is on a distinguished road

      0  

    Default


    Well its not really urgent per see, but its been bugging me as to why isnt working where i have the example running perfectly with the hierarquicalColMenu at true........anyway heres the code:

    Code:
    <%@ page contentType="text/html; charset=iso-8859-1" %>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
    
    (function(){
    
    
    
    		//Barra de status com mensagem inicial
    		var mainStatus= "Escolha o(s) grupo(s).";
    
    		//Titulo do gridPanel 
    		var titledisp='Gestão de Grupos';
    
    		//Titulos das colunas(1)
    		var headerCol1='Grupo';
    		var headerCol2='Descrição';
    
    		
    		//fechar janela
           	 fechar= new Ext.Button({
             	    text:'Fechar',           
               	    handler: function(){
               	    	parent.${param.window}.close();  
         	       }
           	       });
    
          	//limpar campo de organica parent
          		 limpar= new Ext.Button({
                	 text:'Limpar',           
                	 handler: function(){
                		 affectParent('','');
                	}
                	});			
    
    		      submeter=  new Ext.Button({
    
    				 text:'Submeter',
    				 handler: function(){
    					affectParentMultiple();
    				}
    				});
    
    			  remover=  new Ext.Button({
    
    				text:'Remover todos',
    				handler: function(){
    					Grid.getSelectionModel().clearSelections();
    				}
    				});
    			
    			  seleccionar=  new Ext.Button({
    
    				text:'Seleccionar todos',
    				handler: function(){
    					Grid.getSelectionModel().selectAll();
    				}
    				});		
    
    
    		//Dados
    		  var elemDisp =  [
    							<c:forEach items="${elements}" varStatus="i" var="elemento">
    								[ 
    								'${elemento.titulo}',
     								'${elemento.descricao}',
    								${elemento.id},
    								'<input type="checkbox" id="${elemento.id}" value="${elemento.titulo}" />'
    								]
    								     <c:if test="${!i.last}">,</c:if>
    								</c:forEach>
    						  ]
    
    
    			//Generic fields array to use in  defs.
    			  fields = ['name', 'descricao','id'];
    			
    
    			  // create the data store
    			  GridStore = new Ext.data.SimpleStore({
    		   	    fields : fields,
    				data   : elemDisp
    			});
    
    
    		//selection model based on the checkbox system
    		  CheckboxSM = new Ext.grid.CheckboxSelectionModel({/*header: 'Seleccionar', id: 'test',*/ width: 20});
    
    			
    				
    		// Column Model shortcut array
    		  cols =  new Ext.grid.ColumnModel({ 
    				columns: [		         	
    					{
    		    		 id       : 'name',
    		    		 header   : headerCol1, 
    		    		 width    : 220,
    		    		 sortable : true, 
    		    		 dataIndex: 'name'},
    					{
    		    		 id       : 'desc',
    		    		 header   : headerCol2, 
    		    		 width    : 280, 				
    		    		 sortable : true, 
    		    		 dataIndex: 'descricao'},
    		    		 {
    		    		 id       : 'desc2',
    		    		 header   : headerCol2, 
    		    		 width    : 90, 				
    		    		 sortable : true, 
    		    		 dataIndex: 'id'},
    		    		 CheckboxSM
    				],
    				defaultSortable: true
    				
    				});
    
    		// used to add records to the destination stores
    		 // blankRecord =  Ext.data.Record.create(fields);
    
    		  Grid = new Ext.grid.GridPanel({
    			
    			title            : 'Teste',
    			id               : 'panelGrupos',
    		    store            : GridStore,
    		    colModel         : cols,
    		    viewConfig       : {
    				forceFit: true
    			},
    		    width            : 600,
    		    height           : 350,
    			layout           : 'anchor',
     			region           : 'center',
    		    sm				 : CheckboxSM,
    		    tbar             : [ 		      		      
    		                        '->',
    		                        '-',		                  
    		                        seleccionar,
    		                        remover		                  
    		    	                ],
    		    bbar             : ['->',submeter,fechar,limpar],
    		    plugins: [new Ext.ux.plugins.GroupHeaderGrid({
    				rows: [
    					[{},
    					 {header: 'Teste', colspan: 3, align: 'center'}
    					],
    					[
    					{},
    						{header: 'Antes', colspan: 1, align: 'center'},
    						{header: 'Depois', colspan: 1, align: 'center'},{}
    					]
    				],
    				hierarchicalColMenu: true
    			})]
    		});
    	
    
    	function affectParent(value, description){
    		parent.document.getElementById('${param.valuePlaceOlder}').value=value;
    		parent.document.getElementById('${param.descPlaceOlder}').innerHTML=description;
    		parent.${param.window }.close();		
    	}
    	
    	function affectParentMultiple(){
    		var idsSelected = '';
    		var descSelected = '';
    		var selected =Grid.getSelectionModel().getSelections();
    		
    		for(i=0;i<selected.length;i++){
    		
    			idsSelected += selected[i].data.id + ';';
    		    descSelected += selected[i].data.name + ';';
    		}
    	
    
    		affectParent(idsSelected, descSelected);
    	}
    	
    
    return Grid;
    
    
    
    })();

  7. #197
    Ext User
    Join Date
    Oct 2009
    Posts
    1
    Vote Rating
    0
    ahngzw is on a distinguished road

      0  

    Default


    i could't download it,Anyone can tell me how to download it.thanks

  8. #198
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,251
    Vote Rating
    73
    Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold

      0  

    Default


    Quote Originally Posted by ahngzw View Post
    i could't download it,Anyone can tell me how to download it.thanks
    You can't download attachments from the forum with IE. Use a different browser.

  9. #199
    Ext User
    Join Date
    Mar 2010
    Posts
    3
    Vote Rating
    0
    StagnantIce is on a distinguished road

      0  

    Default


    Hi Condor,
    I have a problem if I use GroupHeader plugin with columnLock grid.11.JPG

    I have strange symbols in headers. Can you help me?
    Thank you.

  10. #200
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,251
    Vote Rating
    73
    Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold

      0  

    Default


    You'll need a LockingGroupHeader plugin (which I have created, but unfortunately isn't free).

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar