jQWidgets Forums
Forum Replies Created
-
Author
-
May 29, 2015 at 11:29 am in reply to: Layout inside the Window gets weird after reopening it Layout inside the Window gets weird after reopening it #71793
Thanks a bunch, seems weird that it worked the first time tho
May 29, 2015 at 9:34 am in reply to: Layout inside the Window gets weird after reopening it Layout inside the Window gets weird after reopening it #71781I 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.
May 21, 2015 at 6:42 am in reply to: Bug report : Validator and IE8 (fix inside) Bug report : Validator and IE8 (fix inside) #71383Why doesn’t it throw an error with my jqxGrid on IE8 then ? Pretty weird indeed, I’ll remove the commas then
May 15, 2015 at 7:53 am in reply to: Weird JS error when exporting my jqxGrid Weird JS error when exporting my jqxGrid #71161Thanks 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
-
AuthorPosts