Hi,
In the form Item, We are using fomratEditorValue to format the value. But If we load the form like below and one of the field has formatEditorValue method. And after loading the data from the server If I am trying to check form.getChangedValues() then it is returning the field which has fiilterEditorValue.
It was not happening SmartCleint 9.1, But this is happening in SmartClient 10.0_11_19 version.
So, Could you please suggest to not to get the formatEditorValue field in the getChangedValues().
We are working on the below environment:
SmartClient version : Isomorphic SmartClient/SmartGWT Framework (10.0p_2014-11-19/PowerEdition Deployment 2014-11-19)
Browser : IE9
In the form Item, We are using fomratEditorValue to format the value. But If we load the form like below and one of the field has formatEditorValue method. And after loading the data from the server If I am trying to check form.getChangedValues() then it is returning the field which has fiilterEditorValue.
It was not happening SmartCleint 9.1, But this is happening in SmartClient 10.0_11_19 version.
So, Could you please suggest to not to get the formatEditorValue field in the getChangedValues().
Code:
isc.DynamicForm.create({
ID: "locationForm",
width:900,height:250,top:380,
initialCriteria:{"II1_PRODUCT_NUMBER":"1"},
dataSource:"TII1_CUSTODY_ISSUE_ITEM_DETAIL",
fields:[
{name:"II1_PRODUCT_NUMBER",title:'II1_PRODUCT_NUMBER',width:230},
{name:"II1_PRODUCT_STATE_V",textBoxStyle:"myMandatoryCell",title:'II1_PRODUCT_STATE_V',formatEditorValue:"getUOMId(value, record, form, item)"
},
{name:"II1_ISSUED_QUANTITY",title:'II1_ISSUED_QUANTITY',width:150},
{name:"II1_ASSIGNEE_TYPE_V",textBoxStyle:"myMandatoryCell",title:'II1_ASSIGNEE_TYPE_V',width:150
}
],
autoFetchData: true
})SmartClient version : Isomorphic SmartClient/SmartGWT Framework (10.0p_2014-11-19/PowerEdition Deployment 2014-11-19)
Browser : IE9