You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the source of the jqxgrid contains a 'decimal' type, the automatically generated JS code will omit the value of this item property.
Example: If the source is made up of this object:
public record Model {
public int Id { get; init; }
public string Name { get; init; }
public decimal Budget { get; init; }
public DateTime StartDate { get; init; }
}
an item of the generated JS will look like this: { 'Id': 4, 'Name': 'Joe', 'Budget': , 'StartDate': new Date(2023, 2, 20, 0, 0, 0, 0) }
This is invalid JS syntax, which causes the jqxgrid to not render
Replacing 'decimal' with 'double' resolve the issue
If the source of the jqxgrid contains a 'decimal' type, the automatically generated JS code will omit the value of this item property.
Example: If the source is made up of this object:
an item of the generated JS will look like this:
{ 'Id': 4, 'Name': 'Joe', 'Budget': , 'StartDate': new Date(2023, 2, 20, 0, 0, 0, 0) }
This is invalid JS syntax, which causes the jqxgrid to not render
Replacing 'decimal' with 'double' resolve the issue
Demo:
aspnet_issue.zip
The text was updated successfully, but these errors were encountered: