dataTables_empty

dataTables_empty

dascentraldascentral Posts: 2Questions: 0Answers: 0
edited March 2009 in General
Correct me if I am wrong but the "Zero records found cell" has "text-align: center" injected inline in addition to the application of the "dataTables_empty" class.

I would love to be able to style that "text-align: left" but adding that rule to the "dataTabes_empty" class cannot override the inline style.

Using v1.4.2.

Replies

  • allanallan Posts: 57,236Questions: 1Answers: 9,113 Site admin
    Hi dascentral,

    Good call - the class on that cell is a reasonably new addition and I didn't think about removing the old text style. I've done so now, and this will be out in the next release. Until then, you can modify your local copy by removing the line

    nTd.style.textAlign = "center";

    from the code (it's in _fnDraw() ).

    Regards,
    Allan
  • dascentraldascentral Posts: 2Questions: 0Answers: 0
    awesome, worked like a charm. thanks for the quick feedback.
This discussion has been closed.