开发者

Fitting several columns inside of screen with jqGrid

开发者 https://www.devze.com 2023-03-28 23:48 出处:网络
I got jqGrid to work, sort of.I have one table in particular that has 开发者_开发问答several columns.How can I get it to place all the columns onto the visible screen and allow for scrolling allong th

I got jqGrid to work, sort of. I have one table in particular that has 开发者_开发问答several columns. How can I get it to place all the columns onto the visible screen and allow for scrolling allong the x-axis? Thanks.


This is not a good Answer, and I hope to start a discussion about this, but this is what I did...

    jQuery(document).ready(function () {
            tableToGrid("#table1", { shrinkToFit: false, width: 940 });
        });

Setting the width to a solid width seems to have solved the problem temporarily for now. It will do.

UPDATE: NEW PROBLEM Hey, for some reason, when I move this over to a production server, I am unable to change the width to the appropriate range. Anyone know why that is?

0

精彩评论

暂无评论...
验证码 换一张
取 消