Datatables, how to change appearance

How you can see i use datatables to style my tables:

What disturbs me is first, that the plugin adds an line above my table:

Showing 1  to 14 of 14 entries

How do i have to cahnge my code, so that this wont be displayed anymore?

Next problem is that i styled my rows with backgound-colors, but how you can see when i press on one of the headings for example "typ", datatables overwrites my colors with the standard blue tones!

My code: Thanks to all!

 jQuery ->
$('#treatment').dataTable
"bPaginate": false,
"sScrollY": "400px",
    "bScrollCollapse": true

Answers


Firstly, in order to remove the 'entries' info, you must add the option 'bInfo' with the value of 'false':

jQuery ->
$('#treatment').dataTable
    "bPaginate": false,
    "sScrollY": "400px",
    "bScrollCollapse": true,
    "bInfo": false // to disable the entries info.

Its always a good idea to read the documentation.

Lastly, given you have not given a complete reproduction of your experienced problem, the following is a shot in the dark based on the limited information provided;

You may wish to modify/add the css classes to your own css file that is included last in the document, tr.odd.gradeA td.sorting_1 and tr.even.gradeA td.sorting_1.

Always remember to inspect the elements with your browser's development tools, which would allow you to see which classes you need to modify, and which options to search for in the documentation.


Need Your Help

Map Kit: info button on flipside view shown in front of the map

xcode ios4 mapkit

I have a mapkit on my app but the info button is hidden behind it, can I do something so the info button is in front of the map view???

I cannot iterate trough textboxes

c# .net winforms

I am trying to iterate trough the textboxes in my window so I can make operations on them. Here is my code:

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.