cursor changes though sorting is disabled
cursor changes though sorting is disabled
Sruthi
Posts: 2Questions: 0Answers: 0
Hi,
I have used datatables in my application. I donot want the sorting functionality to be enabled in these. I have created a table with class 'display'.
In jquery, I have used the below lines of code:
"bSort": false,
"aaSorting": [],
Also, in the datatable class i.e., demo_table.css I have altered the style as below:
table.display thead th {
padding: 3px 18px 3px 10px;
border-bottom: 1px solid black;
font-weight: bold;
cursor : pointer,
/*cursor: hand;/ /*commented the below line and added this line - for not changing the cursor*/
}
But still, when I hover the header of datatable, the cursor changes to hand. Can anyone please help me in this.
thanks,
Sruthi
I have used datatables in my application. I donot want the sorting functionality to be enabled in these. I have created a table with class 'display'.
In jquery, I have used the below lines of code:
"bSort": false,
"aaSorting": [],
Also, in the datatable class i.e., demo_table.css I have altered the style as below:
table.display thead th {
padding: 3px 18px 3px 10px;
border-bottom: 1px solid black;
font-weight: bold;
cursor : pointer,
/*cursor: hand;/ /*commented the below line and added this line - for not changing the cursor*/
}
But still, when I hover the header of datatable, the cursor changes to hand. Can anyone please help me in this.
thanks,
Sruthi
This discussion has been closed.
Replies
Allan
Thanks
Pawan
Allan