Версия Guriddo jqGrid JS: 4.7.0.jqGrid прокрутка с большими строками
(function ($) {
'use strict';
$(function() {
$('#jqGrid').jqGrid({
url: '../StrictRoutesRebirth/StrictRoutes/',
mtype: 'GET',
datatype: 'json',
colModel: [{
label: 'id',
name: 'id',
hidden: false,
key: true
},
{
label: 'Примечание',
index: 'note',
name: 'note'
},
{
label: 'Логин',
index: 'userLogin',
name: 'userLogin',
hidden: true,
edittype: 'text'
}],
scroll: 1,
height: 500,
width: 500,
rowNum: 50,
rownumbers: true,
pager: '#jqGridPager',
prmNames: {
nd: null,
search: null,
page: 'page',
rows: 'pageSize',
sort: 'sortKey',
order: 'sortOrder',
totalrows: 'totalQty'
},
jsonReader: {
root: 'data.entries',
// page: 'data.pager.page',
total: 'data.pager.totalPages',
records: 'data.pager.totalQty'
}
});
});
})(jQuery);
Когда jqGrid отвечают длинные текстовые поля (которые далее сетки для отображения строки с большой высоты) с поддержкой scroll: 1
jqGrid стал давать сбои и не работают. Приложите screencast, чтобы показать проблему.
[Github issue] (https://github.com/tonytomov/jqGrid/issues/695) – AuthorProxy