Hi guys,
i necessity to modify the style of tree record in 'eventRenderer'.
How i can do this?
Which class/template source i can modify?
Thanks,
Tony
Support Forum
The eventRenderer method is used for rendering tasks in the right part of the gantt panel (so called scheduling view).
And if you want to customize your left side (so called locked grid) columns you can use normal ExtJS renderer config.
And if you want to customize your left side (so called locked grid) columns you can use normal ExtJS renderer config.
thanks for the replyarcady wrote:The eventRenderer method is used for rendering tasks in the right part of the gantt panel (so called scheduling view).
And if you want to customize your left side (so called locked grid) columns you can use normal ExtJS renderer config.
Can i do Gantt.lockedGrid.[...] to get the record name and customize the cls?
Thanks
The renderer receives as its arguments value, metaData (which can be used for CSS styling) and record.
ok,arcady wrote:The renderer receives as its arguments value, metaData (which can be used for CSS styling) and record.
but i dont understand how use this render.
Where i must put this code?
renderer: function(value){
}
g = Ext.create('Gnt.panel.Gantt', {
renderer: function(value){
}
[...]
}
i nencessity to modify the style of children, father in the treearcady wrote:The renderer is a config of column. As far as I understand you are trying to customize columns look?... { xtype : 'treecolumn', dataIndex : 'Name', renderer : function (value, meta, record) { // here we assign some class meta.tdCls = 'custom-style'; return value; } } ...