• Data View - Control

    By Bryan Sentz 1 decade ago

    I posted a question few weeks ago and got no love, so I figured I would try again.

    We are writing an application that is opening views and documents using the dynamic tabs control in conjunction with dynamic content.  We like the data view control and would like make use of it but there is no onClick event to take action on a document.  Basically we need a way to execute SSJS and CSJS when the user attempts to open a document.

    Thanks

    • Yeah,this is because...

      By Philippe Riand 1 decade ago

      ...the columns are not controls, but complex types, so we cannot assign an event handler to them. We might enhance it going forward by providing an onClick at the view level but, by the meantime, you can simply not use the pre-canned summary column capability and simply put a regular control in a facet called "summary". Then, if you put a link, you can assign it an event handler.