server-side processing and java applet

server-side processing and java applet

beginner_beginner_ Posts: 55Questions: 2Answers: 0
edited May 2011 in General
Hi all,

I would like to use server-side processing feature of datatables in combination with a java applet. To be more specific the data of 1 column in the table must be displayed using a java applet.

How could I do that? Put the actual html for the applet in the returned JSON object?

Replies

  • allanallan Posts: 63,542Questions: 1Answers: 10,476 Site admin
    > "the data of 1 column in the table must be displayed using a java applet."

    Do you mean that each cell has a Java applet in it which is drawing the data? In which case, yes - just put in the required HTML like you would for a normal HTML table.

    Allan
  • beginner_beginner_ Posts: 55Questions: 2Answers: 0
    Yes, each cell in that column has it own applet. Will try that out.
  • QuentinQuentin Posts: 21Questions: 0Answers: 0
    edited June 2012
    In a identical manner, I would like to embed Jmol applet ( http://sourceforge.net/projects/jmol/ ) in each cell of a column that contain the data to draw.

    I can initialize the applets, but only with that code in fnRender :
    [code]
    "fnRender":
    function(obj) {
    return '';
    }
    [/code]

    I know that my data is in obj.aData[ obj.iDataColumn ].
    I want to use the jmolLoadInline(model, {targetSuffix}) function, in which model is the raw data (not a file).

    How to call that function with obj.aData[ obj.iDataColumn ] ?


    Moreover, it seems to be recommended to use the applet with
    [code]

    jmolApplet(size);

    [/code]
    and i don't know how to instantiate the applet this way.

    Thanks a lot !
This discussion has been closed.