Name: Anonymous 2011-04-02 17:36
I am having a hard time learning how to do something that I imagine should be simple. So I am just going to bite the bullet and ask for help.
I want to make a table where I can organize the data via clicking on a title to organize the data within.
The data for inside the table would be defined in an outside document.
For instance
[Name] [Age] [Start Date] [End Date] [Months Participating]
A Aa Ab Ac Ad
then I'm assuming it would call to an array to get the data.
Where each listing would have something like:
a[0]: John, 24, 10-09, 09-11
And then have the last part calculated by some eqation which I don't want to come up with right this second so let's just have it be "Ac+Ad=Ae"
So if you click name, it'll sort alphabetically through the array. if you click age, either offering ascending, descending, or preferably both, and same deal with the dates sort ascending and descending. Or the months, ascending descending.
Anyone have any idea of a good link to teach me this, or an example with maybe 2 parts that I can rip apart and elaborate upon?
Thanks!
I want to make a table where I can organize the data via clicking on a title to organize the data within.
The data for inside the table would be defined in an outside document.
For instance
[Name] [Age] [Start Date] [End Date] [Months Participating]
A Aa Ab Ac Ad
then I'm assuming it would call to an array to get the data.
Where each listing would have something like:
a[0]: John, 24, 10-09, 09-11
And then have the last part calculated by some eqation which I don't want to come up with right this second so let's just have it be "Ac+Ad=Ae"
So if you click name, it'll sort alphabetically through the array. if you click age, either offering ascending, descending, or preferably both, and same deal with the dates sort ascending and descending. Or the months, ascending descending.
Anyone have any idea of a good link to teach me this, or an example with maybe 2 parts that I can rip apart and elaborate upon?
Thanks!