function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
j-dj-d 

Custom attribute to <apex:column>

Is there a way to add a custom attribute to an <apex:column> ? I have a little javascript function that I use to sort smaller tables on the client and the function utilizes an attribute called "sortkey" which is usually inserted into the <td> tag. As an example:

 

<td sortkey='1000' sorttype='num'>$1000.00</td>

 

The function uses the sortkey rather than the innerHTML between the td tags to sort. This simplifies the sort, especially when there is a lot of HTML between the td tags.