为什么jsgrid水平滚动不滚动标题列?

问题描述

我正在使用jsgrid(http://js-grid.com/)向用户显示一些数据。 一切似乎都正常,但是当我们需要水平滚动时,它仅移动数据,而不移动主列,如图所示。

enter image description here

我希望列也会移动,因此它们始终与is值对齐。 我按照此处的所有步骤操作:http://js-grid.com/getting-started/ 但是到目前为止还没有运气。

这是我正在使用的代码

$("#jsGrid").jsGrid({
                width: "100%",height: "90%",sorting: true,paging: true,noDataContent: "No customer found for the given search.",data: result.customers,rowClick: function(args){
                    $("#customerIdField").val(args.item.customerId);
                    $("#processForm").submit();
                },fields: [
                     { name: "customerId",title: "Customer ID",type: "text",width: 150  },{ name: "username",title: "Username",{ name: "firstName",title: "First Name",{ name: "lastName",title: "Last Name",{ name: "emailAddress",title: "Email",width: 150  }
                ]
            });

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)