Hi,
I was wondering if there is a way to show a radio button on each record within a listgrid object. I have provided code below:
isc.DataSource.create({
ID:“assignedTeamMemberEmployee”,
fields:[
{name: “employeeid”, title: “Employee ID”, primaryKey: true},
{name: “fullname”, title: “Employee Name”},
{name: “site”},
{name: “building”},
{name: “homeCostCenter”},
{name: “workCostCenter”},
{name: “isOwner”, title: “Owner”}
],
clientOnly: true,
testData: exampleData2
})
isc.defineClass(“TeamMemberAssignedListGrid”,“ListGrid”).addProperties({
width: 300,
height: 250,
cellHeight: 24,
imageSize: 16,
leaveScrollbarGap: false,
alternateRecordStyles: true,
canPickFields: false,
canGroupBy: false,
canFreezeFields: false,
showAllColumns: false,
showAllRecords: false,
showRollOver: false,
sortFieldNum: 0,
sortDirection: “ascending”,
emptyMessage: “<b>Please add team members through the Employee List.</b>”,
showHeader: true,
fields:[
{name: “fullname”, title: “Employee Name”, width: 200},
{name: “employeeid”, title: “Employee ID”, width: 100},
{name: “isOwner”, title: “Owner”, type:“radioGroup”, width: 50}
],
dragTrackerMode: “icon”,
trackerImage:{ src: “person.png”, width: 16, height: 16},
dataSource: assignedTeamMemberEmployee,
autoFetchData: true,
canDragRecordsOut: false,
canAcceptDroppedRecords: true
})
Can you provide an approach that accomplishes this? Am I on the right track? Thanks.
Newt