Hello,
I could use a little clarification on setOmitNullMapValuesInResponse() because it appears to have no impact on the data in the response.
I'm using SmartGWT 3.1p v8.3p_2013-04-01/PowerEdition Deployment with Firefox 10.
Lets say I run a query against a table
and the data in the emp table is:
In the Developer Consol when I track RPC's I can see the Response is:
My question is, for emp_id 1 why does the response not look like this:
I would like the title:null attribute to appear. I was thinking that setOmitNullMapValuesInResponse(false) would make that happen but it does not. It there a way to get the response to return the null attributes? Please let me know if you need any other information.
I could use a little clarification on setOmitNullMapValuesInResponse() because it appears to have no impact on the data in the response.
I'm using SmartGWT 3.1p v8.3p_2013-04-01/PowerEdition Deployment with Firefox 10.
Lets say I run a query against a table
Code:
Select emp_id, first_name, last_name, dob from emp order by emp_id
Code:
emp_id first_name last_name title 1 bob smith null 2 jim jones mr 3 fred jones mr
Code:
data:[
{
emp_id:1,
first_name:"bob",
last_name:"smith"
},
{
emp_id:2,
first_name:"jim",
last_name:"jones",
title:"mr"
},
{
emp_id:3,
first_name:"fred",
last_name:"jones",
title:"mr"
}
]
Code:
{
emp_id:1,
first_name:"bob",
last_name:"smith",
[b]title:null[/b]
},
Comment