breton01
Junior Member
Posts: 3
Registered: 8/6/2004
Member Is Offline
|
| posted on 8/6/2004 at 06:36 PM |
|
|
Columns that don't have sort option
Is there any way to have some columns in the table that don't have sorting option in top header? Info in these columns would still sort but just
no option to do so in the headers.
|
|
|
litran
Junior Member
Posts: 2
Registered: 9/16/2004
Member Is Offline
|
| posted on 9/16/2004 at 08:17 PM |
|
|
You can turn off sorting in the column header by removing the 'type' property in your header definition. For example,
var TABLE_CAPT0 = [
{
'name' : 'Name',
'type' : STR
},
{
'name' : 'Description'
}
];
has sorting available for the Name column but not for the Description column.
|
|
|
breton01
Junior Member
Posts: 3
Registered: 8/6/2004
Member Is Offline
|
| posted on 9/16/2004 at 08:49 PM |
|
|
columns with nor sort option
Thank you for responding. I tried what you suggested. Every time I remove the "type" property the table no longer draws in the browser.
??
|
|
|
breton01
Junior Member
Posts: 3
Registered: 8/6/2004
Member Is Offline
|
| posted on 9/16/2004 at 08:53 PM |
|
|
Hey, got it! I was not deleting comma. Works great!! Thank you! Thank you!
|
|
|