Assigning a border to each cell of the first column of a table
<p>Is this the proper way to assign a border to a cell for the first column in the table?</p>

<pre><code>$(gridContentTable).find("tbody tr td[cellIndex=" + (frozenColCount - 1) + "]").css("border-right", freezeColStyle);
</code></pre>

<p>Edit: More info:</p>

<p>This works for the first cell in the header:</p>

<pre><code>$(tableHeaderCol).eq((frozenColCount - 1)).css("border-right", freezeColStyle);
</code></pre>

<p>I'm defining the variables with this:</p>

<pre><code>function getGridInfo() {
    gridHeaderTable = grid.find(".t-grid-header table");
    gridContentTable = grid.find(".t-grid-content table");
    tableHeaderGroupCol = $(gridHeaderTable).find("colGroup col");
    tableHeaderCol = $(gridHeaderTable).find("tbody tr th");
    tableContentGroupCol = $(gridContentTable).find("colGroup col");
    totalColCount = $(tableHeaderGroupCol).length;
}
</code></pre>

<p>Only the header has the CSS applied, the content of the table does not. And this will ultimately do the first cell of each row in the first column.</p>

<p>Thanks.</p>
