SmartClient Version: v10.0p_2014-10-13/EVAL Development Only (expires 2014.12.12_06.38.34) Licensed to: Isomorphic Software (#ISC_EVAL_NIGHTLY)
Chrome on OSX
Hello, I've just noticed that ListGridField.getRecordSummary, defined on a field of type:"summary", after editing a record, is called even on other records.
Please modify the showcase sample #canEditFreeze like this:
then edit a single field of a record. You'll see something like this in the developer console logs:
The first row in the log is relative to the updated record, but why is it called other 12 times?
Chrome on OSX
Hello, I've just noticed that ListGridField.getRecordSummary, defined on a field of type:"summary", after editing a record, is called even on other records.
Please modify the showcase sample #canEditFreeze like this:
Code:
isc.ListGrid.create({ ID: "supplyList", width: 500, height: 224, dataSource: supplyItem, autoFetchData: true, canEdit: true, fields: [ {name: "category", width: 80}, {name: "itemName", width: 150}, {name: "SKU", width: 100}, {name: "unitCost", width: 80}, {name: "testSummary", type: "summary", width: 100, getRecordSummary: function (record, field) { isc.logEcho("itemID", record.itemID) return record.unitCost * record.unitCost; } }, {name: "description", width: 250} ] })
Code:
16:31:53.921:IBLR8:WARN:Log:2: "itemID" 16:31:54.005:TMR4:WARN:Log:1: "itemID" 16:31:54.006:TMR4:WARN:Log:2: "itemID" 16:31:54.007:TMR4:WARN:Log:3: "itemID" 16:31:54.009:TMR4:WARN:Log:4: "itemID" 16:31:54.010:TMR4:WARN:Log:5: "itemID" 16:31:54.011:TMR4:WARN:Log:6: "itemID" 16:31:54.013:TMR4:WARN:Log:7: "itemID" 16:31:54.019:TMR4:WARN:Log:8: "itemID" 16:31:54.020:TMR4:WARN:Log:9: "itemID" 16:31:54.021:TMR4:WARN:Log:10: "itemID" 16:31:54.022:TMR4:WARN:Log:11: "itemID" 16:31:54.023:TMR4:WARN:Log:12: "itemID"
Comment