Monday, June 3, 2024
Homepage · c#
 Popular · Latest · Hot · Upcoming
4
rated 0 times [  9] [ 5]  / answers: 1 / hits: 24059  / 12 Years ago, mon, september 24, 2012, 12:00:00

I'm using a KendoUI KendoGrid. I have a column with delete button or destroy action. Kendo displays an alert box with the text Are you sure you want to delete this record? I need this text to be more specific to my situation. How do you customize this text?



Any help would be appreciated.



My code for adding the columns is:



$reports.kendoGrid(
{
dataSource: dataSource,
pageable: {
refresh: true,
pageSizes: true
},
toolbar: [{ name: create, text: Add }],
columns:
[
{ field: 'name', title: 'Report', sortable: true },
{ command: [edit, destroy], title:  , width: 180px, }
],
editable: inline,
selectable: true,

More From » c#

 Answers
9

according to the Kendo Grid documentation:



editable.confirmation Boolean | String



Defines the text that will be used in confirmation box when delete an item.


[#82930] Saturday, September 22, 2012, 12 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ryanulyssesb

Total Points: 91
Total Questions: 105
Total Answers: 102

Location: England
Member since Tue, Sep 8, 2020
4 Years ago
ryanulyssesb questions
Sat, Mar 20, 21, 00:00, 3 Years ago
Mon, Sep 14, 20, 00:00, 4 Years ago
Mon, Mar 9, 20, 00:00, 4 Years ago
Sun, Jul 7, 19, 00:00, 5 Years ago
;