Hi Isomorphic,
I have a problem with SelectItems in BatchUploader in SmartGWT. As I assumed that it will happen in SmartClient as well, I prepared a testcase in the current showcase sample, which does not show the error.
My problem is that the pickListCriteria are not applied in SmartGWT. Do you see a reason why this could be? My gut feeling says it might be related to pickListProperties, but I'm not sure and did not test it, yet, in SmartGWT.
In order to have the code, here my sample so far:
Best regards
Blama
I have a problem with SelectItems in BatchUploader in SmartGWT. As I assumed that it will happen in SmartClient as well, I prepared a testcase in the current showcase sample, which does not show the error.
My problem is that the pickListCriteria are not applied in SmartGWT. Do you see a reason why this could be? My gut feeling says it might be related to pickListProperties, but I'm not sure and did not test it, yet, in SmartGWT.
In order to have the code, here my sample so far:
Code:
isc.BatchUploader.create({ ID:"uploader", height: 400, width: "100%", uploadDataSource: supplyItemCustom, uploadFormFields: [ { name: "stringValue", title: "String Value", type: "text", wrapTitle: false }, { name: "numericValue", title: "Numeric Value", type: "number", wrapTitle: false } ], uploadFormProperties: { titleWidth: 110 // make room for long titles defined above without overflowing }, gridProperties: { height: 200 }, gridFields: [ {name:"itemID"}, {name:"itemName"}, {name:"units", //editorType:"SelectItem", editorProperties: { title:"My Unit", optionDataSource: "supplyItemUnits", pickListProperties: { dataFetchMode: "basic" }, valueField: "id", displayField: "description", sortField: "description", pickListCriteria: { fieldName: "description", operator: "iContains", value: "l" }, pickListHeaderHeight: 0, pickListFields: [ {name: "id"}, {name: "description"} ] } }, {name:"unitCost"} ] }); isc.DynamicForm.create({ ID: "partialCommitsForm", items: [ { name:"partialCommits", wrapTitle: false, title:"Partial Commit Mode", type:"select", defaultValue: "prompt", valueMap:{ allow: "Allow", prevent: "Prevent", prompt: "Prompt", retain: "Retain" }, changed : function(form, item, value) { uploader.partialCommit = value; } } ] }); isc.VStack.create({ width:"100%", layoutMargin:10, membersMargin: 10, members:[ partialCommitsForm, uploader ] });
Blama
Comment