Reputation: 795
I have the table with some columnss.
Venue - text Venue type - text # Of Guest Rooms - integer # Of Meeting Rooms - integer Max Mtg Room Sq. Ft. - integer Total Mtg Space Sq. Ft. - integer
So problem. When I don't define "sorttype" columns sorts only by texts fields, when I specify sorttype:int, for numeric columns they are sorted, but texts columns don't. If I specify sorttype:'text' for texts columns and sorttype:'int' for numeric, sorting occurs only by the numeric columns.
I would really appreciate any help
Upvotes: 1
Views: 1334
Reputation: 222007
You should remove thralling commas to allow at least debug the code. The current code produce syntax error and nothing will be displayed.
For example at the end of colModel
definition you will find },]
combination. In the same way in subGridOptions
you will see false,}
combination. Moreover all cellattr
function contains returns without ;
which isn't good. In the same way the last statement ($("#cb_"...).attr(....)
) should be also be ended with ';'
.
Upvotes: 1