jQWidgets Forums

Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts

  • Coloco
    Participant

    Thanks a bunch, seems weird that it worked the first time tho


    Coloco
    Participant

    I temporarily fixed it by setting the CSS of #choixAdresse to :

    #choixAdresse{
        height: 20px !important;
        width: 400px !important;
    }

    This is not a very acceptable solution however and I still haven’t figured out why the width/height of the DropDownList isn’t taken into account the second time the window shows up. If I put the #okButton declaration in the Window’s initContent, it produces the same results but for some reason the button’s size is kept the same after the 2nd time while the DropDownList isn’t.


    Coloco
    Participant

    Why doesn’t it throw an error with my jqxGrid on IE8 then ? Pretty weird indeed, I’ll remove the commas then


    Coloco
    Participant

    Thanks for the input, I don’t actually need to export my grid anymore but I redownloaded 3.8 anyway.

    However, I’m facing a new problem with my new grid : upon page load, the grid will have the background of the scrollbar on the right side, even tho there’s no need for the scrollbar to be there. If I resize the page, the scrollbar disappears and everything is fine.

    At page load :

    After resizing :

    I have found that this only happens if I use a pageable grid and dimensions in % and not in pixels.
    It also doesn’t seem to happen if I remove my dataSource. It also doesn’t happen if I remove autoheight and if I don’t set a pagesize.
    It also fixes itself if I change the number of rows shown at the bottom right (even if I switch back to 28).

    Here’s my full jqxGrid code :

    var sourceGrid = {
                        localdata:fonctionsEnBase,
                        datatype:"json",
                    };
    
                    var dataAdapter = new $.jqx.dataAdapter(sourceGrid);
    
                    $("#jqxGrid").jqxGrid({
                        groupable:true,
                        sortable:true,
                        theme:theme,
                        source:dataAdapter,
                        selectionmode:'multiplerowsextended',
                        width:"100%",
                        autoheight:true,
                        editable:true,
                        pageable: true,                    
                        pagesizeoptions:[8,16,22,28],
                        pagesize:28,
                        altrows:true,
                        columnsresize: true,
                        columns: [
                            {text: 'Nom IUM', datafield: 'nom_ium', width:"10%"},
                            {text: 'Nom', datafield: 'nom', width:"10%"},
                            {text: 'Prénom', datafield: 'prenom', width:"7%"},
                            {text: 'Service', datafield: 'nomEntite', width:"20%"},
                            {text: 'Emploi', datafield: 'nomEmploi', width:"16%"},
                            {text: 'Fonction', datafield: 'nomFonction', },
                        ],
    
                    });
    
                    $("#jqxGrid").jqxGrid('editmode','selectedcell');
    
                    $("#jqxGrid").jqxGrid('localizeStrings',localizationobj);     

    Thanks in advance,

    Coloco

Viewing 4 posts - 1 through 4 (of 4 total)