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