As you can see, it's working here. Could you look at that, please, and see if it helps. If it's still not working for you, please can you update my example, or link to your page, so that we can see the problem.
Assuming you are using the default Datatables styling, ie, not using Bootstrap, you can apply the table classes documented here. Try using cell-border like this: http://live.datatables.net/zuvoyumo/1/edit
You can create your own. Checkout this thread. Or you can use a library like BusyLoad or BlockUI depending on your needs. There are a few threads on the forum discussing these libraries.
Replies
Sounds like you aren't loading a required library or loading them in the wrong order. Please post a link to your page or a test case replicating the issue so we can help debug.
https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case
Kevin
I was loading in this format!
<link
rel="stylesheet"
href="https://cdn.datatables.net/1.11.3/css/jquery.dataTables.min.css"
/>
<link
rel="stylesheet"
href="https://cdn.datatables.net/fixedcolumns/4.0.1/css/fixedColumns.dataTables.min.css"
/>
As you can see, it's working here. Could you look at that, please, and see if it helps. If it's still not working for you, please can you update my example, or link to your page, so that we can see the problem.
Cheers,
Colin
Is there a way to separate columns from one another by adding line in between columns such as in bootstrap tables
Not really, but you could fudge it by adding an empty column - something like this: http://live.datatables.net/ruhuguwu/88/edit
Colin
Assuming you are using the default Datatables styling, ie, not using Bootstrap, you can apply the
table
classes documented here. Try usingcell-border
like this:http://live.datatables.net/zuvoyumo/1/edit
Kevin
Ah thanks, Kevin, I misread that question!
Can i have cell-border for thead also?
There isn't a built in style for that, but it is straightforward to add with a little CSS: http://live.datatables.net/zuvoyumo/2/edit
Allan
How can i add spinner or loading text before the table is loading
You can use
processing
for that,Colin
I tried but it's not working
You can create your own. Checkout this thread. Or you can use a library like BusyLoad or BlockUI depending on your needs. There are a few threads on the forum discussing these libraries.
Kevin