Hi,
I am using Grid widget with Popup editor mode.
My items' fields are "title" and "contactPerson", both strings.
I'd like to set the popup's title dynamically, for example:
editable: {
mode: "popup",
window: {
title: "Editing #=title#"
}
}
So that if the row's "Edit" button is pressed the editor's title should be "Editing" + current_row_item.title
and if "Add new item" is pressed it should be "Adding new item".
Thx in advance.
I am using Grid widget with Popup editor mode.
My items' fields are "title" and "contactPerson", both strings.
I'd like to set the popup's title dynamically, for example:
editable: {
mode: "popup",
window: {
title: "Editing #=title#"
}
}
So that if the row's "Edit" button is pressed the editor's title should be "Editing" + current_row_item.title
and if "Add new item" is pressed it should be "Adding new item".
Thx in advance.