I have a table with three columns: Style, Color, Size. What I want to be able to do is hit a "Next" button, and it will change the filter on the table to whatever the next unique Style is within this table.
My Example:
Full table:
[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD]Style[/TD]
[TD]Color[/TD]
[TD]Size[/TD]
[/TR]
[TR]
[TD]Ardvarkian[/TD]
[TD]Red[/TD]
[TD]Small[/TD]
[/TR]
[TR]
[TD]Ardvarkian[/TD]
[TD]Red[/TD]
[TD]Medium[/TD]
[/TR]
[TR]
[TD]Bouncy[/TD]
[TD]Blue[/TD]
[TD]Medium[/TD]
[/TR]
[TR]
[TD]Bouncy[/TD]
[TD]Blue[/TD]
[TD]Large[/TD]
[/TR]
[TR]
[TD]Bubbly[/TD]
[TD]Pink[/TD]
[TD]Small[/TD]
[/TR]
[TR]
[TD]Bubbly[/TD]
[TD]Pink[/TD]
[TD]Medium[/TD]
[/TR]
[TR]
[TD]Zymph[/TD]
[TD]Black/White[/TD]
[TD]Large[/TD]
[/TR]
[TR]
[TD]Zymph[/TD]
[TD]Black/White[/TD]
[TD]X_Large[/TD]
[/TR]
</tbody>[/TABLE]
First Filter:
[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD]Ardvarkian[/TD]
[TD]Red[/TD]
[TD]Small[/TD]
[/TR]
[TR]
[TD]Ardvarkian[/TD]
[TD]Red[/TD]
[TD]Medium[/TD]
[/TR]
</tbody>[/TABLE]
Then I would hit NEXT and would see this:
[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD]Bouncy[/TD]
[TD]Blue[/TD]
[TD]Medium[/TD]
[/TR]
[TR]
[TD]Bouncy[/TD]
[TD]Blue[/TD]
[TD]Large[/TD]
[/TR]
</tbody>[/TABLE]
Then NEXT again:
[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD]Bubbly[/TD]
[TD]Pink[/TD]
[TD]Small[/TD]
[/TR]
[TR]
[TD]Bubbly[/TD]
[TD]Pink[/TD]
[TD]Medium[/TD]
[/TR]
</tbody>[/TABLE]
Etc. etc.
Thanks in advance for all your help!!!
~McMasher
My Example:
Full table:
[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD]Style[/TD]
[TD]Color[/TD]
[TD]Size[/TD]
[/TR]
[TR]
[TD]Ardvarkian[/TD]
[TD]Red[/TD]
[TD]Small[/TD]
[/TR]
[TR]
[TD]Ardvarkian[/TD]
[TD]Red[/TD]
[TD]Medium[/TD]
[/TR]
[TR]
[TD]Bouncy[/TD]
[TD]Blue[/TD]
[TD]Medium[/TD]
[/TR]
[TR]
[TD]Bouncy[/TD]
[TD]Blue[/TD]
[TD]Large[/TD]
[/TR]
[TR]
[TD]Bubbly[/TD]
[TD]Pink[/TD]
[TD]Small[/TD]
[/TR]
[TR]
[TD]Bubbly[/TD]
[TD]Pink[/TD]
[TD]Medium[/TD]
[/TR]
[TR]
[TD]Zymph[/TD]
[TD]Black/White[/TD]
[TD]Large[/TD]
[/TR]
[TR]
[TD]Zymph[/TD]
[TD]Black/White[/TD]
[TD]X_Large[/TD]
[/TR]
</tbody>[/TABLE]
First Filter:
[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD]Ardvarkian[/TD]
[TD]Red[/TD]
[TD]Small[/TD]
[/TR]
[TR]
[TD]Ardvarkian[/TD]
[TD]Red[/TD]
[TD]Medium[/TD]
[/TR]
</tbody>[/TABLE]
Then I would hit NEXT and would see this:
[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD]Bouncy[/TD]
[TD]Blue[/TD]
[TD]Medium[/TD]
[/TR]
[TR]
[TD]Bouncy[/TD]
[TD]Blue[/TD]
[TD]Large[/TD]
[/TR]
</tbody>[/TABLE]
Then NEXT again:
[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD]Bubbly[/TD]
[TD]Pink[/TD]
[TD]Small[/TD]
[/TR]
[TR]
[TD]Bubbly[/TD]
[TD]Pink[/TD]
[TD]Medium[/TD]
[/TR]
</tbody>[/TABLE]
Etc. etc.
Thanks in advance for all your help!!!
~McMasher