src/main/webapp/js/service.js
/* Formatting function for row details - modify as you need */
Formatting function for row details - modify as you need
Formatting function for row details - modify as you need
function formatServerConnData(data) {
                    if (data.FLAG_TYPE.toLowerCase() == "rule") {
                        return '<table cellpadding="5" cellspacing="0" border="0" style="padding-left:50px;">' + 
                                '<caption align="left" style="display: table-caption; text-align: -webkit-left;"><Strong><small>Details:</small></Strong></caption>' +
                                '<tr>' +
                                '<td align="left"><small>Code:</small></td>' +
                                '<td align="left"><small>' + data.CODE + '</small></td>' +
                                '</tr>' +
                                '<tr>' +
                                '<td align="left" ><small>Object Type:</small></td>' +
                                '<td align="left" ><small>' + data.FLAG_TYPE + '</small></td>' +
                                '</tr>' +
                                '<tr>' +
                                '<td align="left" ><small>Rule Type:</small></td>' +
                                '<td align="left" ><small>' + data.RULE_OBJECT_TYPE + '</small></td>' +
                                '</tr>' +
                                '</table>';
                    } else {
                        return '<table cellpadding="5" cellspacing="0" border="0" style="padding-left:50px;">' + 
                                '<caption align="left" style="display: table-caption; text-align: -webkit-left;"><Strong><small>Details:</small></Strong></caption>' +
                                '<tr>' +
                                '<td align="left" ><small>Code:</small></td>' +
                                '<td align="left" ><small>' + getCode(data) + '</small></td>' +
                                '</tr>' +
                                '<tr>' +
                                '<td align="left" ><small>Object Type:</small></td>' +
                                '<td align="left" ><small>' + data.FLAG_TYPE + '</small></td>' +
                                '</tr>' +
                                '</table>';
                    }
                }
function formatServerConnData ( data ) { if ( data . FLAG_TYPE . toLowerCase ( ) == "rule" ) { return '<table cellpadding="5" cellspacing="0" border="0" style="padding-left:50px;">' + '<caption align="left" style="display: table-caption; text-align: -webkit-left;"><Strong><small>Details:</small></Strong></caption>' + '<tr>' + '<td align="left"><small>Code:</small></td>' + '<td align="left"><small>' + data . CODE + '</small></td>' + '</tr>' + '<tr>' + '<td align="left" ><small>Object Type:</small></td>' + '<td align="left" ><small>' + data . FLAG_TYPE + '</small></td>' + '</tr>' + '<tr>' + '<td align="left" ><small>Rule Type:</small></td>' + '<td align="left" ><small>' + data . RULE_OBJECT_TYPE + '</small></td>' + '</tr>' + '</table>' ; } else { return '<table cellpadding="5" cellspacing="0" border="0" style="padding-left:50px;">' + '<caption align="left" style="display: table-caption; text-align: -webkit-left;"><Strong><small>Details:</small></Strong></caption>' + '<tr>' + '<td align="left" ><small>Code:</small></td>' + '<td align="left" ><small>' + getCode ( data ) + '</small></td>' + '</tr>' + '<tr>' + '<td align="left" ><small>Object Type:</small></td>' + '<td align="left" ><small>' + data . FLAG_TYPE + '</small></td>' + '</tr>' + '</table>' ; } }
Formatting function for row details - modify as you need
Formatting function for row details - modify as you need
//width:50% !important" //width:50% !important"