This week's book giveaway is in the Other Open Source APIs forum. We're giving away four copies of Storm Applied and have Sean Allen, Peter Pathirana & Matthew Jankowski on-line! See this thread for details.
I am trying to create a table using a component by a company called infragistics. The table must be created dynamically, since every aspect of it changes depending on the data. I have a bean which gets back a list of column names, and all the data for the columns. So basically, there is an ArrayList of the columnNames for the tables, and the data for all the rows.
I am trying to bind the grid to a class I have called DynamicGrid which I want to generate the table. The problem is, I don't know how or what to bind to. It is easy to have a static number of columns and then just bind to the arraylist of rows, but how can I bind to both properties, so that all aspects of the table can be created dynamically, ie variable number of columns, column names, rows.
That will depend on the component you are using. I know nothing about infragistics components. If it's from here I am guessing the library is commercial? I'd bet they have some support? Documentation? Have you checked into that?
I am new to JSF so I wanted to make sure that it was not a JSF issue.
Joined: Dec 03, 2003
I think its not only about the infragistics component though. For example, how would you create a table with dynamic rows and columns using only JSF components. How would you do the binding for the column names and the rows? Every example I've seen, the names of the columns are known. [ July 13, 2006: Message edited by: Joe Black ]