Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 Community / Forums / Finance forum / [D365FO]: Gantt extens...
Finance forum
Answered

[D365FO]: Gantt extension - New columns in the grid (left)

Posted on by 62
Hello,
 
how could I add new columns with values to the grid in the resource group Gantt chart?
 
 
I was able to add the new column to the UI by extending the class method /GanttControlVisualization_WrkCtr.getColumns()/ by COC and adding a new column to the end of the list. (The new column /MyItemId/ is also added to the tempory table /GanttTmpWrkCtrJob/, because this seems to be the base of the data in the gantt grid)
 
columns.addEnd(GanttControlColumn::newParameters(fieldPName(GanttTmpWrkCtrJob, MYItemId), 100, true));
Unfortunatly I don't find the point where should insert the /value/ of the ItemId to the tempory table or bound the new tempory table column to a display method or something else? Even the Inserting Eventhandler is not working:
 
 
Any help is appreciated.
 
Thanks
Sebastian
  • Verified answer
    Basti Aurand Profile Picture
    Basti Aurand 62 on at
    [D365FO]: Gantt extension - New columns in the grid (left)
    in the meantime i found the missing piece of code to bring the value to the column. You have to extend the method getColumnTexts from the class GanttControlVisualization_WrkCtr:
     

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,696 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,490 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans