hello

AutoScroll doesn't work with the gridPanel. if i specify a specific height,
when the content is bigger i get just the name of the columns 
http://osgeo-org.1803224.n2.nabble.com/file/n6383275/Capturer.jpg 

this is the code:

var hopitaux_Grid = new Ext.grid.GridPanel
    ({
        id: 'gridpanel',
        title: 'Basic Grid Panel with Ext JS and PHP',
        height: 270,
autoScroll: true,
        frame: true,
        store: store_hopitaux,
        colModel: new Ext.grid.ColumnModel({
           defaults: {
              //  width: 120,
                sortable: true
            },
            columns: [
                {header: 'nom_hopital', dataIndex: 'nom_hopital', id:
'nom_hopital'},
                {header: 'statut_hopital', dataIndex: 'statut_hopital'},
                {header: 'niveau_hopital', dataIndex: 'niveau_hopital'},
                {header: 'nbr_consult_total', dataIndex:
'nbr_consult_total'}
            ]
        })
    });

the GridPanel is in a panel (table) wich is in a viewport.

dashBoardPanel = new Ext.Panel
                ({
                                        id: 'main-panel',
                                        region: 'center',       
                                        border: true,
                                        autoScroll: true,
                                        layout: {
                                                type: 'table',
                                                columns: 2
                                        },
                                        defaults: { height: 285 },
                                        items:[mapPanelDashBoard, 
hopitaux_Grid, camembert_AccouchementPanel,
histogramme_consultationPanel]
        
                });
                

thanks for the help

--
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/GridPanel-Scroll-doesn-t-work-tp6383275p6383275.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to