Hi,
I have tested with "Hands on demo" - "ISC_110_BRANCH_2017-04-06_1491488012_jenkins_node6/WWW Deployment" on Google Chrome.
Setting editorType for a ListGridField to a custom class shows an editor only for current row in that field.
If I set editorType to TextItem and add all the MyTextItem class properties through editorProperties, it works as expected.
Best regards,
Janusz
I have tested with "Hands on demo" - "ISC_110_BRANCH_2017-04-06_1491488012_jenkins_node6/WWW Deployment" on Google Chrome.
Setting editorType for a ListGridField to a custom class shows an editor only for current row in that field.
Code:
isc.defineClass("MyTextItem", "TextItem"); isc.ListGrid.create({ alwaysShowEditors: true, ID: "countryList", width:550, height:224, alternateRecordStyles:true, // use server-side dataSource so edits are retained across page transitions dataSource: countryDS, // display a subset of fields from the datasource fields:[ {name:"countryCode", title:"Flag", width:40, type:"image", imageURLPrefix:"flags/16/", imageURLSuffix:".png", canEdit:false}, {name:"countryName", editorType: isc.MyTextItem}, {name:"continent"}, {name:"member_g8"}, {name:"population"}, {name:"independence"} ], autoFetchData: true, canEdit: true, editEvent: "click" })
Best regards,
Janusz
Comment