what i am doing is i am fetching the number of employee list from one table. and their details from another table. so depending on the number of employees in the table i am showing their details in datatable. so the no. of datatables will be equal to the number of employees in the database. and this number is decided when i run the application. hope u will get it...
Joined: Mar 31, 2006
Ok so you want a dataTable for each employee's details, right? I haven't used them myself but I think what you're looking for is nested dataTables.
and you will need to know which employee is currently being accessed in each iteration? I wrote a grid that has a dynamic number of columns filled with data for each row. What component library are you using? Perhaps I can help you.
Joined: May 23, 2006
i am using "Sun Java Studio Creator Built-in Components" standard DataTable let me make it more clear. as i am fetching the employee and his details from the database.. i am showing this in the datatable so that the employee name will be the title of the table and the table data will be the details of the employee and so on for the next employee.. Thanks for the replys..... [ June 09, 2006: Message edited by: Ravi Jagtap ]
I have the same problem. I have two tables: inv_item_tbl(list of item) and serial_tbl(list of serial), in every item there are many serial.
These are the attributes of the table: