I think the best way to do it is creating your own component. Table component is flexible, but not thaaaat flexible. You can create this component in less than a day. Really understanding how table internals work will take you much more time.
On 7/19/06, Blackwings <[EMAIL PROTECTED]> wrote:
Hi, I followed some tutorials about the contrib:Table and yes, it is very powerful but my needs are a little bit more complex and in the documentation it says if I want to use specific TableRows or TableColumns the best way should be to use TableView instead of Table. Mainly, I have to render a table that is a set of rows group. Each set can have different kind and number of rows with they own style and reaction (onclick, on contextmenu...). To summarize, I have a table that contain a list of rows group. Let's call them Units. Each Unit is a set of rows. These rows can be of 2 types. Let's call them Request and Auxiliaries. The Request has a certain type of cells and the Auxiliaries has another type of cells. The Request is always there but the number o Auxiliaries can vary from 0 to n and differ from a Unit to another. For the full table, the number of columns is variable but common to all Units/Request/Auxiliaries. As you see, I need different kind of customizable rows and columns. I see my table as a list of Block of TableRows (Units) and the Units as a list of either TableRows or TableColumns but I'm not sure what is the best in fact. See it online there : http://www.basket-saintleger.be/jws/HomePage.html So, what are the best components I will have to use ? Table? TableView? TableRows? TableColumns? Something else? Big thanks for your advice BW