coder
coder

Reputation: 656

datatable plugin not working in mvc3

This is my day one with jQuery. I am using Data Table to display data in my HTML table. I am using the following config options.

$("#myTable_id").dataTable({
             "bJQueryUI": true,
             "sPaginationType": "full_numbers"
});

I am able to see the paging details, but I am unable to see the proper UI like in the third screenshot in the link below (though I have used bJQueryUI: true). http://www.codeproject.com/Articles/194916/Enhancing-HTML-tables-using-a-JQuery-DataTables-pl#Introduction

I learn that ThemeRoller is used to accomplish this (http://datatables.net/usage/features). Should I download and include ThemeRoller related files in project or does dataTable plugin internally contains ThemeRoller's code and style.

Upvotes: 0

Views: 155

Answers (1)

Homam
Homam

Reputation: 706

You should include Jquery ui standard .css file in your documnet.
where it can understand what to show you.
alternatively you can use themeroller to make your desired css file you can find the .css file in jqueryui.com

jqueryui works well in ie9+ but you can not have some items like round corners or background gradient in ie8- .
first check your ie version, and if you want a complete compatible site with ie8-, then you should use some plugins like css3 pie, but i don't advice that, you can find a some clues in here

Upvotes: 1

Related Questions