jQWidgets Forums

jQuery UI Widgets Forums Grid be output to only 30 heads in ver 5.x.x.

This topic contains 1 reply, has 2 voices, and was last updated by  Hristo 7 years, 5 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • be output to only 30 heads in ver 5.x.x. #98033

    sulwon
    Participant

    Dear team,

    The following program source will be output to only 30 heads in ver 5.x.x.
    In ver. 4.x.x, the entire header is output normally. I would appreciate it if you could tell me what the problem is.
    =====================================================================================

    
    <script type="text/javascript" >
    
    $(document).ready(function() {
        var data = new Array();
        var columns = new Array();
        var datafields = new Array();
    
        initGridScreenWidget();
        loadMasterData();
    
        function loadMasterData() {
        	for (var j = 0; j < 300; j++) {
                datafields.push({ name: "Name_" + j, type: "float" });
                columns.push({ datafield: "Name_" + j, text: "Col Name " + (1+j), width: 100, align: 'center', cellsalign: 'right', cellsformat: 'f3'});
    		}
            for (var i = 0; i < 200; i++) {
                var row = {};
                for (var j = 0; j < 300; j++) {
                    row["Name_" + j] = (1+i) + "." + (1+j);
                }
                data[i] = row;
            }
    
            var gridAdapter = new $.jqx.dataAdapter({
                localdata: data,
                 datatype: "array",
                datafields: datafields
            });
    
            $("#grid").jqxGrid({
                source: gridAdapter,
                columns: columns,
            });
        }
    
        function initGridScreenWidget(){
             $("#grid").jqxGrid({
    	            width: '100%',
    	            theme: theme,
             });
        }
    }); 
    /* ======= end of $(document).ready ===== */
    
    </script>
    <div>
    	<div id="grid"></div>
    </div>
    

    =====================================================================================

    Best regards,
    sulwon.

    be output to only 30 heads in ver 5.x.x. #98063

    Hristo
    Participant

    Hello sulwon,

    Thank you for the feedback.

    Best Regards,
    Hristo Hristov

    jQWidgets team
    http://www.jqwidgets.com

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

You must be logged in to reply to this topic.