sorting images are not displayed in my table

sorting images are not displayed in my table

prasannahbinprasannahbin Posts: 5Questions: 0Answers: 0
edited May 2010 in TableTools
Hi,

I am new to this JQuer datatables. In table header sorting images are not getting displayed. When I debugged this code with firebug it is showing "sorting" class as a stroked off lines. Anybody can help to resolve this issue.

Thanks.

Replies

  • chandruchandru Posts: 17Questions: 0Answers: 0
    Can you display your code? Later i will give some instructions.
  • prasannahbinprasannahbin Posts: 5Questions: 0Answers: 0
    edited May 2010
    Hi chandru,

    thanks for your reply. That problem is resolved by changing some CSS code. Now I need some help regarding sorting.

    Numeric field sorting is not correct. Can you please help me in this regard? Here is my code.

    reports_files_list = $('#reports_data_grid').dataTable( {
    "bProcessing": true,
    "bServerSide": true,
    "sAjaxSource": ".calling server side file", // file name is changed
    "sPaginationType": "full_numbers",
    "aoColumns": [
    { "sClass": " ","bVisible" : false},
    { "sClass": " Name"},
    { "sName": " Date" },
    { "sName": " Amount" },
    { "sName": "Currency" },
    { "sName": "Status Code" }
    ]

    });


    Where do I need to change my code?

    Thanks in advance.
  • chandruchandru Posts: 17Questions: 0Answers: 0
    Hi,
    I got the same trouble. Finally i solved, the problem in css style sheet. Add the "demo_table_jui.css" style sheet into your code.
  • chandruchandru Posts: 17Questions: 0Answers: 0
    Hi,
    Here i have modified the your code for sorting. Use this,
    "aoColumns": [
    { "sClass": " ","bVisible" : false},
    { "sClass": " Name","asSorting": ["asc", "desc"], "bSortable": true},
    { "sName": " Date","asSorting": ["asc", "desc"], "bSortable": true },
    { "sName": " Amount","asSorting": ["asc", "desc"], "bSortable": true },
    { "sName": "Currency","asSorting": ["asc", "desc"], "bSortable": true },
    { "sName": "Status Code","asSorting": ["asc", "desc"], "bSortable": true }
    ]
  • prasannahbinprasannahbin Posts: 5Questions: 0Answers: 0
    Thanks chandru. I will check it out. give me some time.
  • prasannahbinprasannahbin Posts: 5Questions: 0Answers: 0
    Do yo have skype ID? to contact you.
  • chandruchandru Posts: 17Questions: 0Answers: 0
    I have only GMail Id, use this id to contact me chandrusekar04@gmail.com.
  • prasannahbinprasannahbin Posts: 5Questions: 0Answers: 0
    chandru, It is not working. Is there any help?
This discussion has been closed.