Hi Niklas,

There are two things that you should make sure that are working if you see nothing in the table:

1) getCurrentPageRows() in your TableModel should return a non-empty Iterator (the rows of the table)

2) The ColumnModel should return at least one column.

If both of these are true, then the only other thing that could cause the problem is if getValueRenderer() in the columns returns an IRender that outputs nothing visible. If you are using a derivative of SimpleTableColumn, and you are not overriding getValueRenderer(), make sure that getColumnValue() returns an object whose String representation is non-empty.

I hope this helps. Please let me know if you are still having problems. If you wish, you can send me snippets of your code as well.

Best regards,

mb

 

 Niklas Ekman <[EMAIL PROTECTED]> wrote:

Hello!

 

I'm having trouble with the table component. I'm trying to display information from our java framework, so therefore I've created my own models (column, table, data). But I'm getting an empty table every time I try to render the page where the component is located. I've been to your help page, Mindbridge, but I'm still having a lot of trouble. Can someone please send me some examples? I've looked at the tutorial but it didn't help me.

 

Thanks,

 

Niklas Ekman



Do you Yahoo!?
HotJobs - Search new jobs daily now

Reply via email to