Closed GoogleCodeExporter closed 8 years ago
Unfortunately I cannot handle customization requests with project issues here,
I don't have resources to help people with their specific customization needs,
it would take all the time I have (paid services is the only possibility for
customizations).
I can only give generic instructions on how to add custom content (in general),
but cannot give exact examples on how to do your specific task.
Comments plugin has an example on how to register custom list column, where you
can add any content you like.
Something like this
var MyPlugin = function() {
var that = this;
this.getCellContent = function(item, data) {
return "<div>my stuff</div>";
};
return {
id: "plugin-my",
initialize: that.initialize,
fileViewHandler : {
filelistColumns : function() {
return [{
"id": "my-list-col",
"title-key": "my-col-title-key",
"width" : 50,
"content": that.getCellContent,
"on-click": function(item, data, ctx) {
//do something on cell click
}
}];
}
}
};
}
Then you add column id "my-list-col" into the client init file list columns
(and of course MyPlugin instance to the plugins list).
Original comment by samuli.j...@gmail.com
on 26 Feb 2014 at 11:25
Original comment by samuli.j...@gmail.com
on 20 Jan 2015 at 11:52
Original issue reported on code.google.com by
john.bot...@gmail.com
on 26 Feb 2014 at 10:34Attachments: