I try to apply class on tr and th i try this but effect did not reflect when i run this
html
and
- success: function (result) {
- var final = JSON.parse(result.d).response;
- console.log(JSON.parse(result.d).response)
- $("#tabledata").empty();
- $("th").addClass("GridviewScrollHeader");
- $("td").addClass("GridviewScrollItem");
- if (final.length > 0) {
- $("#tabledata").append(
- "
");ID OwnerName RegNo MileageAccumlation MaxSpeed - for (var i = 0; i < final.length; i++) {
- if (final[i] !== null) {
- $("#tabledata").append("
");" + - final[i][0] + "
" + - final[i][1] + "
" + - final[i][2] + "
" + - final[i][3] + "
" + - final[i][4] + "
- }
- }
- }
any solution?>
scropio gurlPosted Jul 19, 2016, 7:42 AM
JohnPosted Jul 19, 2016, 6:43 AM