2

データテーブル内の単一の列をフィルター処理するために使用できるテーブルの外にリンクを作成しようとしています。基本的に、リンクは一連のカテゴリ名になり、テーブル内にはカテゴリ名を含む非表示の列があります。

これは、ほとんどの場合、私がやろうとしていることです。

<ul id="category-filter">
   <li><a href="#">Category 1</a></li>
   <li><a href="#">Category 2</a></li>
</ul>

<table cellpadding="0" cellspacing="0" border="0" id="program-table">
                    <thead>
                        <tr>
                            <th>Course Prefix</th>
                            <th>Program</th>
                            <th>Degree(s)</th>
                            <th>Certificate(s)</th>
                            <th>Sample Plan</th>
                            <th>Category</th><!-- Hidden Column -->
                        </tr>
                    </thead>
                    <tbody>...</tbody>
</table>
4

1 に答える 1