user302254
user302254

Reputation: 225

xform data grid

I am using orbeon to process my xforms. I am attempting to create a data grid that I can use to copy and paste rows/columns of data from my clipboard (excel).

Do you have any clue how I can implement this?

I just stumbled on the ajax dhtmlxgrid.

http://dhtmlx.com/docs/products/dhtmlxGrid/samples/12_initialization_loading/03_grid_int_from_html.html

I am attempting to use a dhtmlxgrid as the front end to an xform. My xform will generate an html table and the dxhtmlgrid will present the ajax component.

As anyone successfully used an external javascript library with an xform?

Upvotes: 0

Views: 668

Answers (1)

ebruchez
ebruchez

Reputation: 7857

There is no built-in functionality in Orbeon Forms to do this at the moment. I am thinking that the rich text editor might help:

http://wiki.orbeon.com/forms/how-to/htmlarea

What happens if you paste something from Excel in there?

If it does anything meaningful, then you could process the pasted HTML into something else, for example using XSLT.

Another possibly relevant component is the datatable:

http://wiki.orbeon.com/forms/doc/developer-guide/xbl-components/datatable

That might be used for visualizing data previously captured.

Upvotes: 1

Related Questions