Aligning Numeric data
Aligning Numeric data
rishikaushik67
Posts: 2Questions: 0Answers: 0
Hi Team ,
I have problem in aligning numeric data , as per my requirement I want numeric data to be aligned right and text left in datatable grid , I have tried using
table.display td {
padding: 3px 10px;
text-align: right;
}
Now the entire data is getting right aligned , I want only numeric data to be right aligned ,
Thanks in advance.
I have problem in aligning numeric data , as per my requirement I want numeric data to be aligned right and text left in datatable grid , I have tried using
table.display td {
padding: 3px 10px;
text-align: right;
}
Now the entire data is getting right aligned , I want only numeric data to be right aligned ,
Thanks in advance.
This discussion has been closed.
Replies
{"mDataProp" : "grossAmount","sClass":"right"},
the problem here is that the grid alignment is getting distrubbed
Allan