Tony Joy
Tony Joy

Reputation: 1

DataTables "No Data Available in Table" text position change

I have two datatable having id table1 and table2,By default "No Data Available in Table" text is center, i need to change the text of only table2 to left

Upvotes: 0

Views: 523

Answers (1)

Negi Rox
Negi Rox

Reputation: 3922

Hi you can do it by css

table.dataTable td.dataTables_empty{
  text-align:left;
}

here is working example

Upvotes: 2

Related Questions