sorting
sorting
mephjl
Posts: 4Questions: 0Answers: 0
I all,
I'm a beginner
this is my simple code :
[code]
$(document).ready( function () {
var oTable = $('#tabella5').dataTable( {
"sScrollX": "100%",
"sScrollXInner": "120%",
"bScrollCollapse": true
} );
new FixedColumns( oTable, {
"iLeftColumns": 2,
"iLeftWidth": 250
} );
} );
[/code]
it sorting well when table not contains tags, for example like this :
[code]
<?php echo number_format($var1,2);?>
<?php echo number_format($var2,2);?>
.....
.....
[/code]
vars are percentuals.
but it don't sort columns when I add any HTML tags in TD tags like this :
[code]
<?php echo number_format($var1,2);?>
<?php echo number_format($var2,2);?>
.....
.....
[/code]
Can anyone tell me why ? Plesa Help me
TNX ALL
I'm a beginner
this is my simple code :
[code]
$(document).ready( function () {
var oTable = $('#tabella5').dataTable( {
"sScrollX": "100%",
"sScrollXInner": "120%",
"bScrollCollapse": true
} );
new FixedColumns( oTable, {
"iLeftColumns": 2,
"iLeftWidth": 250
} );
} );
[/code]
it sorting well when table not contains tags, for example like this :
[code]
<?php echo number_format($var1,2);?>
<?php echo number_format($var2,2);?>
.....
.....
[/code]
vars are percentuals.
but it don't sort columns when I add any HTML tags in TD tags like this :
[code]
<?php echo number_format($var1,2);?>
<?php echo number_format($var2,2);?>
.....
.....
[/code]
Can anyone tell me why ? Plesa Help me
TNX ALL
This discussion has been closed.
Replies
Allan