Re: using datagrid or jtable
Gerald Bauer <[email protected]> Thu, 4 Mar 2004 05:30:30 -0800 (PST)
| Newsgroups | gmane.comp.java.luxor-xul.user |
|---|---|
| Message-ID | <[email protected]> |
Hello Steffen,
> I have a question to the jtable at the datagrid
> definition.I want to
> define a column of checkboxes in my datagridtable.
> must I change the XmlTableModel ?
> especially the column class:
> public Class getColumnClass( int column ) { return
> _columnClass[column];
> if ( column == 3 )
> return Boolean.class ;
The <datagrid> tag is just expiremental, that is,
not complete, thus, I'm afraid to tell you that you
need to add whatever is missing to the code yourself.
As an alternative "codebase" for a <datagrid> tag
you might wonna check out Denis Cardon's
<jtable><jcolumn> tags. See
http://luxor-contrib.sourceforge.net/index.php?alias=jbeantable
for details.
- Gerald
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click