Back to the index of articles and examples
So, you want an expandable table, well, maybe YUI's DataTable is not for you. This is only a brief sample not really meant for a final application though it can be the basis for one. If you want nested DataTables, you may not actually need real YUI DataTables, perhaps not even HTML tables. This table has been created with the following code:
Where the uppercase variables are as follows, plus a couple of extra ones which we'll use later: