Is there a way to mark jQuery Flexigrid columns as sortable if I don't define them in a row?
i.e. I know I can do it
$("#flex1").flexigrid( { colModel: [ { display: 'Col1', name: 'Col1', sortable: true }, { display: 'Col2', name: 'Col2', sortable: true } });
But I am building the grid in the same way as:
$("#flex1").flexigrid();
and then just use the repeater control to display the table that jQuery will style:
<table id="flex1" > <tr> <th>Col1 /th> ... ... <asp:Repeater ID="Repeater1" runat="server"> <ItemTemplate> <tr> <td><%# Eval("Col1") %></td> ...
Bobby
source share