Hello,
        I am currently looking at the new TableModel approach that is in
the latest release. I am trying to extend this TableDemo example to make
it editable etc...

This is as a Swing/<dom4j> learning exercise...

What I have set up is a Tree and Table and the Tree uses the tree model
and on node selection the 'branch' of the tree is used to display a
table (using a table definition)

All this works now BUT I when I edit a cell I cannot get back a node
within the document...

(Basically I am building a little XML editor as I thought that would be
a good way to learn this stuff quickly)

What I am wondering is that I have access to a Row XPath and Column
XPath expression .... 

Is this the key or is there a better way ?

So I have overridden the :

'public void setValueAt(Object aValue, int rowIndex, int columnIndex)'

but don't know how to modify / access the correct cell the document...

Any help appreciated ...

Basically I would like to use the TableDefinition approach rather than
hard coding a table model...

Regards
Alan


_______________________________________________
dom4j-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dom4j-user

Reply via email to