Open kaixiong opened 4 years ago
Hi,
I am currently using version 4.15.5 and populating subgrids via JSON requests. There is a bug where fields with zero as value show up blank.
The problem lies in fillJsonBody() in jquery.jqgrid.src.js:18711. The problematic lines are:
fillJsonBody()
jquery.jqgrid.src.js:18711
subGridCell($tr, cur[j] || " ", j);
and:
subGridCell($tr, jgrid.getAccessor(cur, f[j]) || " ", j);
The issue also occurs when the value is false.
false
Hi,
I am currently using version 4.15.5 and populating subgrids via JSON requests. There is a bug where fields with zero as value show up blank.
The problem lies in
fillJsonBody()
injquery.jqgrid.src.js:18711
. The problematic lines are:subGridCell($tr, cur[j] || " ", j);
and:
subGridCell($tr, jgrid.getAccessor(cur, f[j]) || " ", j);
The issue also occurs when the value is
false
.