Skip to content

wispoz/gantt-resource-view-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

gantt-resource-view-plugin

Plugin for Show Resource Photo over task Bryntum Gantt

demo

Ext.onReady(function(){

    var ganttPanel = Ext.create('Gnt.panel.Gantt', {
        plugins: [
            {
                ptype: 'gantt_resource_view_plugin',
                id:'gantt_resource_view_plugin'
            }
        ],
        tbar: [
            {
                xtype:'button',
                text:'enable',
                handler: function(btn) {
                    plugin = ganttPanel.findPlugin('gantt_resource_view_plugin').enable();
                }
            },

            {
                xtype:'button',
                text:'disable',
                handler: function(btn) {
                    plugin = ganttPanel.findPlugin('gantt_resource_view_plugin').disable();
                }
            }
        ],
        height     : 300,

        width      : 800,
        renderTo   : document.body,
        crudManager : {
            autoLoad        : true,
            transport       : {
                load : {
                    method      : 'GET',
                    url         : 'data.json'
                },
                sync : {
                    method      : 'POST',
                    url         : 'TODO'
                }
            }
        },
        columns    : [
            {
                xtype       : 'namecolumn'
            }
        ]
    });
});

About

Plugin for Bryntum Gantt

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published