Web Development with jQuery®

(Elliott) #1

Appendix T (^) ❘ 621
sortMultiSortKey This option indicates which keyboard modifi er to use to
select more than one column for sorting.
Default value: 'shiftKey'
String
textExtraction Defi nes which method to use to grab text from a table
cell for sorting. String options include 'simple' and
'complex'. 'simple' does not take into account any
markup that might be present preceding table cell text.
'complex' takes markup into account but can be slow
when dealing with large data sets.
An additional option is to write your own function for
text extraction. This function has a signature like so:
function(node)
{
return $(node).text();
}
Keep in mind that using jQuery over JavaScript directly
will impact performance on a large table.
Default value: 'simple'
String,
Function
widthFixed Determines whether fi xed widths should be used for
columns.
Note this can also be accomplished with the CSS
table-layout: fixed; declaration applied to the


element.
Default value: false
Boolean
[http://www.it-ebooks.info](http://www.it-ebooks.info)