Complex Grid Items In Filemanager

We would like to make the file/folder items more complex.

Currently, we are overriding templateIcon and using a react component with ReactDOMServer.renderToStaticMarkup to return a string for this function.

We would like to add in dynamic state-based grid items using React, where there are click handlers. E.g video items, where there are thumbnail previews, controls and other things we can do in a react component (with state and event handlers).

Is there any way to do this? I'd have hoped templateIconwould have passed in the $el or something. We don't want to re-write the entire view as we would lose all the out of the box things like drag+drop, etc.

Tagged:

Comments

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion