SmartClient_v83p_2013-03-20
A definiton of a field in a DataSource is like this...
When used in a ListGrid only a single fetch seems to be performed on the OptionDataSource w/o any filter criteria!? This is a good strategy if the records in the ListGrid references most of the OptionDataSource records but bad if this is not the case. Especially, if the field isn't displayed at all ("detail:true").
A definiton of a field in a DataSource is like this...
Code:
//PART_BRAS_ID NUMBER(4) {name:"PART_BRAS_ID", type:"integer", title:"Branchenschlüssel", length:4, detail:true, editorType:"ComboBoxItem", addUnknownValues:false, optionDataSource:"dsBras", valueField:"BRAS_ID", displayField:"BRAS_DISPLAY", filterFields:["BRAS_BRANCHENSCHLUESSEL", "BRAS_BEZ"], //pickListWidth:300, pickListFields:[ {name:"BRAS_DISPLAY"} ] },
Comment