Hi Isomorphic,
I am using exportData on listGrid...Its working fine except for boolean field.
FYI, Below is the Field defined in DS file:
<field>
<name>isActive</name>
<type>boolean</type>
<wrap>true</wrap>
<defaultValue>true</defaultValue>
<title>Active</title>
<prompt>Active</prompt>
<filterEditorProperties operator="iContains" />
</field>
SC Version : SmartClient Version: v9.0p_2013-08-16/Enterprise Development Only (built 2013-08-16)
Browser : Firefox 21.0
Server code :
List objectExportList = new ArrayList();
for(Object objectDTO: objectList){
Map dataMap = dsRequest.getDataSource().getProperties(objectDTO,true,false);
objectExportList.add(dataMap);
}
dsResponse.setDataSource(dsRequest.getDataSource());
dsResponse.setData(objectExportList);
Thanks !!!
I am using exportData on listGrid...Its working fine except for boolean field.
FYI, Below is the Field defined in DS file:
<field>
<name>isActive</name>
<type>boolean</type>
<wrap>true</wrap>
<defaultValue>true</defaultValue>
<title>Active</title>
<prompt>Active</prompt>
<filterEditorProperties operator="iContains" />
</field>
SC Version : SmartClient Version: v9.0p_2013-08-16/Enterprise Development Only (built 2013-08-16)
Browser : Firefox 21.0
Server code :
List objectExportList = new ArrayList();
for(Object objectDTO: objectList){
Map dataMap = dsRequest.getDataSource().getProperties(objectDTO,true,false);
objectExportList.add(dataMap);
}
dsResponse.setDataSource(dsRequest.getDataSource());
dsResponse.setData(objectExportList);
Thanks !!!
Comment