Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Zeroes in JSON subgrid do not show up #482

Open
kaixiong opened this issue Nov 26, 2019 · 0 comments
Open

Zeroes in JSON subgrid do not show up #482

kaixiong opened this issue Nov 26, 2019 · 0 comments

Comments

@kaixiong
Copy link

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.

json-subgrid-bug

The problem lies in fillJsonBody() in jquery.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.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant