Hi,
Is it possible to change the names of the buttons of the AssignmentPicker?
We would like to change 'Save' to 'Ok' in this popup.
Any thoughts / suggestions?
Thanks,
Rayudu.
Please try:
columns : [
{ type : 'name', field : 'name', text : 'Name', width : 250 },
{
type : 'resourceassignment',
width : 250,
showAvatars : true,
editor : {
type : AssignmentField.type,
picker : {
height : 350,
width : 450,
features : {
filterBar : true,
group : 'resource.city',
headerMenu : false,
cellMenu : false
},
// The extra columns are concatenated onto the base column set.
columns : [{
text : 'Calendar',
// Read a nested property (name) from the resource calendar
field : 'resource.calendar.name',
filterable : false,
editor : false,
width : 85
}],
bbar : {
items : {
saveBtn : {
text : 'Ok'
},
cancelBtn : {
text : 'Cancel'
}
}
}
}
}
}
],
Please try:
columns : [
{ type : 'name', field : 'name', text : 'Name', width : 250 },
{
type : 'resourceassignment',
width : 250,
showAvatars : true,
editor : {
type : 'assignmentfield',
picker : {
height : 350,
width : 450,
features : {
filterBar : true,
group : 'resource.city',
headerMenu : false,
cellMenu : false
},
// The extra columns are concatenated onto the base column set.
columns : [{
text : 'Calendar',
// Read a nested property (name) from the resource calendar
field : 'resource.calendar.name',
filterable : false,
editor : false,
width : 85
}],
bbar : {
items : {
saveBtn : {
text : 'Ok'
},
cancelBtn : {
text : 'Cancel'
}
}
}
}
}
}
],