reversing previous commit that only eemed to work
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Wed, 4 Dec 2013 20:34:50 +0000 (21:34 +0100)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Wed, 4 Dec 2013 20:34:50 +0000 (21:34 +0100)
actually all the columns were showing up, but only the top rows were visible

plugins/querytable/static/js/querytable.js

index a217657..7686e19 100644 (file)
@@ -85,7 +85,6 @@
            this.slick_options = {
                enableCellNavigation: false,
                enableColumnReorder: true,
-               explicitInitialization: true,           
            };
 
            this.slick_data=[];
            if (debug) messages.debug("1-shot initializing dataTables content with " + this.slick_data.length + " lines");
            var start=new Date();
            this.slick_grid.setData (this.slick_data, true);
-           this.slick_grid.init();
+           this.slick_grid.render();
            var duration=new Date()-start;
            if (debug) messages.debug("setData+render took " + duration + " ms");
            if (debug_deep) {