|
|
@ -286,13 +286,16 @@ function getCellDefs($th, $td){
|
|
|
|
for(var i=0; i < $th.length; i++){
|
|
|
|
for(var i=0; i < $th.length; i++){
|
|
|
|
|
|
|
|
|
|
|
|
var label = $th.eq(i).text();
|
|
|
|
var label = $th.eq(i).text();
|
|
|
|
|
|
|
|
label = label.replace("\n", "");
|
|
|
|
|
|
|
|
label = label.replace("\t", "");
|
|
|
|
|
|
|
|
label = label.replace(" ", "");
|
|
|
|
|
|
|
|
|
|
|
|
if(label != ""){
|
|
|
|
if(label != ""){
|
|
|
|
|
|
|
|
|
|
|
|
var width = $th.eq(i).outerWidth();
|
|
|
|
var width = $th.eq(i).outerWidth();
|
|
|
|
width = Math.ceil(width/10) + 2;
|
|
|
|
width = Math.ceil(width/10) + 2;
|
|
|
|
|
|
|
|
|
|
|
|
var field;
|
|
|
|
var field = "";
|
|
|
|
if($td.eq(i).hasClass("privacy-cell")){
|
|
|
|
if($td.eq(i).hasClass("privacy-cell")){
|
|
|
|
field = $td.eq(i).find("span:eq(0)").text();
|
|
|
|
field = $td.eq(i).find("span:eq(0)").text();
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
@ -300,6 +303,9 @@ function getCellDefs($th, $td){
|
|
|
|
}
|
|
|
|
}
|
|
|
|
field = field.replace("{", "");
|
|
|
|
field = field.replace("{", "");
|
|
|
|
field = field.replace("}", "");
|
|
|
|
field = field.replace("}", "");
|
|
|
|
|
|
|
|
field = field.replace("\n", "");
|
|
|
|
|
|
|
|
field = field.replace("\t", "");
|
|
|
|
|
|
|
|
field = field.replace(" ", "");
|
|
|
|
|
|
|
|
|
|
|
|
var cellDef = {
|
|
|
|
var cellDef = {
|
|
|
|
label : label,
|
|
|
|
label : label,
|
|
|
|