I have a listgrid defined like the following:
Instead of using a displayField for person_id, I want to use a custom formatter so that I can return a formatted version of the person name. My datasource (userEntityDataSource) returns title, firstname and surname which I need to concatenate.
Any help on this would be greatly appreciated, thank you.
Code:
isc.ListGrid.create({ dataSource: 'mainDataSource', fields: [ { name: "person_id", width:"*", editorType: "select", optionDataSource:"userEntityDataSource", optionCriteria: { type: 'manager' }, valueField:"tutor_id", displayField: 'firstname' }, { name: "thing", width:"25%" }, { name: "start_date", width:"*" }, ] })
Any help on this would be greatly appreciated, thank you.
Comment