We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Change 'Resource Name' Text

Thread ID:

Created:

Updated:

Platform:

Replies:

145738 Jul 5,2019 01:20 PM UTC Oct 15,2019 01:11 AM UTC ASP.NET Web Forms 3
loading
Tags: Gantt
Alex Jermy
Asked On July 5, 2019 01:20 PM UTC

Hi,

I would like to re-label 'Resource Name'  as 'Operative Name' and refer to assigning resource as 'Labour Loading'. Where can I change these string to affect this change?

Thankyou very much!

Pooja Priya Krishna Moorthy [Syncfusion]
Replied On July 8, 2019 12:49 PM UTC

Hi Alex, 
 
Greetings from Syncfusion support. 
 
In Gantt, we don’t has label like Resource Name in control UI, please share screenshot in which place you need to change the label in Gantt. 
Are you need to change the header text name of resource? Please refer the below screenshot and share the details about your requirement? 
 
 
 
If you are asking about mapping resource properties to Gantt control with your fields in datasource, please refer below UG link. 
 
Regards, 
Pooja Priya K 
 


Alex Jermy
Replied On July 8, 2019 01:06 PM UTC

Hi,

Yes I want to edit where it says 'Resources' (what you have highlighted in red) and change it to 'Operatives'. 

Thankyou very much,

Alex

Jesus Arockia Sankaran S [Syncfusion]
Replied On July 9, 2019 10:46 AM UTC

Hi Alex, 
 
By using load event and getColumns method of Gantt control, we can customize the header text value of columns. We can assign the custom value to columns.headerText property. Please find the code-example below. 
 
 
<ej:Gantt runat="server" ID="GanttControlExporting"  
            //... 
           Load="load"> 
       //... 
</ej:Gantt> 
       <script type="text/javascript"> 
            function load(args) { 
              var columns = this.getColumns(); 
              columns[4].headerText = 'Operatives' 
            } 
       </script> 
 
Please find the sample link below. 
 
Regards, 
Jesus Arockia Sankaran S 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon