Custom delete message in EnitityGridPanel


#1

Hi. I need custom EntityGridPanel delete message in modal window dialog only for one entity.

I found this line and i need customize UB.i18n(‘deleteConfirmationWithCaption’) string (pass in EntityGridObject, or anybody else).

$App.dialogYesNo('deletionDialogConfirmCaption', UB.format(UB.i18n('deleteConfirmationWithCaption'), me.getFormTitle(), entityCaptionsToDelete))

#2

So you propose to add a configuration parameter for a EntityGridPanel for your special case only? Or you can override either UB.i18n or EntityGridPanel.onDel in your code?


#3

No. How possible to override i18n locale only for one entity \ form, anything?.. Thanks in advance.