Using a Kendo Grid, how do you change the wording on the "Create" button in the toolbar?
Solution 1
The way to do this is using the following syntax:
$reports.kendoGrid(
{
dataSource: dataSource,
toolbar: [{ name: "create", text: "Add" }],
Solution 2
you can find it in js and you have to chenge from there
you have to change it by the configuration this link will help you http://www.kendoui.com/documentation/ui-widgets/grid/configuration.aspx
hunted solution its perfect tally work in kendo.all.min.js or kendo.all.js which you are using you will find below line
{create:{text:"Add new record",imageClass:"k-add",className:"k-grid-add",iconClass:"k-icon"}
you will get the result
change it with
{create:{text:"Add ",imageClass:"k-add",className:"k-grid-add",iconClass:"k-icon"}
Related videos on Youtube
Rodney Hickman
Highly Motivated and Experienced IT Professional with Expert Proficiency in Mobile and Web Development. Technical Talent and Business Expertise Transferable to Management-Level Positions Across Industries. Comprehensive understanding of the software development life cycle (SDLC) from requirements and technical specification definition to application design, development, and implementation. Regarded for the ability to drive processes and motivate cross-functional teams; works well under pressure to manage and meet multiple project deadlines. Objective and progressive with dynamic leadership, technical, and business acumen. Specialties IT Software Management, Staff Leadership and Development, Project Management, Business / Technical Requirements Development, Process Improvement / Cost Reduction, Client Relationship Management, Website Architect & Design, SDLC, Business Process Management Systems, Information Architecture, Responsive Design, C#, ASP .Net, MVC, SQL, Entity Framework, Object Oriented Design and Programming (OOD, OOP), Agile with Scrum
Updated on July 11, 2022Comments
-
Rodney Hickman almost 2 years
I'm using a Kendo Grid I added the "create" to do an inline add of a record. How can I change the wording on the add button? Currently it reads: "Add a new Record" I want to simplify it to read just "Add" and I'd also like to keep the same Icon.
My code looks like:
$reports.kendoGrid( { dataSource: dataSource, toolbar: ["create"], ...
Any suggestions would be greatly appreciated.
-
Gyan Chandra Srivastava over 11 years:Rondey look for my edited portion after hunting i got solution for you
-
Gyan Chandra Srivastava over 11 yearsyou have to replace not to add
-
Gyan Chandra Srivastava over 11 yearsits change the text to Add new Record to Add
-
Gyan Chandra Srivastava over 11 yearsbut some time when you have to do trick you have to go out of rule or against a good practice