{"action":"closed","issue":{"url":"https://api.github.com/repos/wenzhixin/bootstrap-table/issues/2162","repository_url":"https://api.github.com/repos/wenzhixin/bootstrap-table","labels_url":"https://api.github.com/repos/wenzhixin/bootstrap-table/issues/2162/labels{/name}","comments_url":"https://api.github.com/repos/wenzhixin/bootstrap-table/issues/2162/comments","events_url":"https://api.github.com/repos/wenzhixin/bootstrap-table/issues/2162/events","html_url":"https://github.com/wenzhixin/bootstrap-table/issues/2162","id":146192873,"number":2162,"title":"BootStrap-table not apply Problem In struts2 ","user":{"login":"ChiragDhangar","id":17333150,"avatar_url":"https://avatars.githubusercontent.com/u/17333150?v=3","gravatar_id":"","url":"https://api.github.com/users/ChiragDhangar","html_url":"https://github.com/ChiragDhangar","followers_url":"https://api.github.com/users/ChiragDhangar/followers","following_url":"https://api.github.com/users/ChiragDhangar/following{/other_user}","gists_url":"https://api.github.com/users/ChiragDhangar/gists{/gist_id}","starred_url":"https://api.github.com/users/ChiragDhangar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChiragDhangar/subscriptions","organizations_url":"https://api.github.com/users/ChiragDhangar/orgs","repos_url":"https://api.github.com/users/ChiragDhangar/repos","events_url":"https://api.github.com/users/ChiragDhangar/events{/privacy}","received_events_url":"https://api.github.com/users/ChiragDhangar/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/wenzhixin/bootstrap-table/labels/awaiting%20reply","name":"awaiting reply","color":"d4c5f9"},{"url":"https://api.github.com/repos/wenzhixin/bootstrap-table/labels/help%20wanted","name":"help wanted","color":"bfe5bf"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-04-06T05:43:15Z","updated_at":"2016-07-02T08:19:12Z","closed_at":"2016-07-02T08:19:12Z","body":" <%@ page language=\"java\" contentType=\"text/html; charset=ISO-8859-1\"\r\n    pageEncoding=\"ISO-8859-1\"  import=\"java.sql.*\"%> \r\n    \r\n    <%@ taglib prefix=\"s\" uri=\"/struts-tags\"%>\r\n<%@ taglib prefix=\"sb\" uri=\"/struts-bootstrap-tags\"%>\r\n<%@ taglib prefix=\"sj\" uri=\"/struts-jquery-tags\"%>\r\n  \r\n<!DOCTYPE html>\r\n\r\n\r\n\r\n<html lang=\"en\">\r\n    <head>\r\n\r\n        <!-- Basic Page Needs\r\n        ================================================== -->\r\n        <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\" />\r\n        <meta charset=\"utf-8\" />\r\n       <%@include file=\"Externalfiles.jsp\"%> \r\n      \r\n<%@include file=\"header3.jsp\"%>\r\n\t \r\n<script type=\"text/javascript\">\r\n\r\n$(document).ready(function() {\r\n\r\n   $.ajax({\r\n       url : \"listRequest\",\r\n       type : \"POST\",\r\n       success : function(data) {\r\n       alert(data);\r\n        document.getElementById(\"body\").innerHTML = data;\r\n       }\r\n   });\r\n});\r\n</script>\r\n\r\n<style>\r\n.hidden-xs {\r\n  display: inline-block !important;\r\n}\r\n</style>\r\n\r\n        \r\n        \r\n        \r\n        \r\n        </head><body id=\"body\">\r\n\r\n                        \r\n\r\n             \r\n\t\t<div class=\"row\">\r\n\r\n\t\t<div class=\"table-responsive\">\r\n\t\t\t<table id=\"table\"  data-cookie=\"true\"\r\n\t\t\t\tdata-click-to-select=\"true\"\r\n\t\t\t\tdata-cookie-id-table=\"depreciationReportTable\">\r\n\t\t\t\t<thead>\r\n\t\t\t\t\t<tr role=\"row\">\r\n\t\t\t\t\t\t<th data-sortable=\"true\" class=\"col-sm-1\">server_id </th>\r\n\t\t\t\t\t\t\t\t<th data-sortable=\"true\" class=\"col-sm-1\">server_make_model </th>\r\n\t\t\t\t\t\t\t\t<th data-sortable=\"true\" class=\"col-sm-1\">processor_speed </th>\r\n\t\t\t\t\t\t\t\t<th data-sortable=\"true\" class=\"col-sm-1\">no_of_physical_cpus </th>\r\n\t\t\t\t\t\t\t\t<th data-sortable=\"true\" class=\"col-sm-1\">cores_per_physical_cpus </th>\r\n\t\t\t\t\t\t\t\t<th data-sortable=\"true\" class=\"col-sm-1\">deployed_licenses </th>\r\n\t\t\t\t\t\t\t\t<th data-sortable=\"true\" class=\"col-sm-1\">machines_in_cluster </th>\r\n\t\t\t\t\t\t\t\t<th data-sortable=\"true\" class=\"col-sm-1\">domain_cluster_name </th>\r\n\t\t\t\t\t\t\t\t<th data-sortable=\"true\" class=\"col-sm-1\">server_purchase_date </th>\r\n\t\t\t\t\t\t\t\t<th data-sortable=\"true\" class=\"col-sm-1\">Expiry_date </th>\r\n\t\t\t\t\t\t\t\t<th data-sortable=\"true\" class=\"col-sm-1\">hyperthreading_enabled </th>\r\n\t\t\t\t\t\t\t\t<th data-sortable=\"true\" class=\"col-sm-1\">admin_server </th>\r\n\t\t\t\t\t\t\t\t<th data-sortable=\"true\" class=\"col-sm-1\">architecture </th>\r\n\t\t\t\t\t</tr>\r\n\t\t\t\t</thead>\r\n\t\t\t\t<tbody>\r\n           \r\n           \t\t \r\n        \t\t\t<s:iterator value=\"listRequests\" var=\"servers\">\r\n        \t\t\t\t\t<tr>\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t<td style=\"text-align:center;\">\r\n\t\t\t\t\t\t\t\t\t<div class=\"th-inner sortable both\"><s:property value=\"server_id\"/></div>\r\n\t\t\t\t\t\t\t\t\t\t\t<div class=\"fht-cell\"></div>\r\n\t\t\t\t\t\t\t\t</td>\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t<td style=\"text-align:center;\">\r\n\t\t\t\t\t\t\t\t\t<div class=\"th-inner sortable both\"><s:property value=\"server_make_model\"/></div>\r\n\t\t\t\t\t\t\t\t\t\t\t<div class=\"fht-cell\"></div>\r\n\t\t\t\t\t\t\t\t</td>\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t<td style=\"text-align:center;\">\r\n\t\t\t\t\t\t\t\t\t<div class=\"th-inner sortable both\"><s:property value=\"processor_speed\"/></div>\r\n\t\t\t\t\t\t\t\t\t\t\t<div class=\"fht-cell\"></div>\r\n\t\t\t\t\t\t\t\t</td>\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t<td style=\"text-align:center;\">\r\n\t\t\t\t\t\t\t\t\t<div class=\"th-inner sortable both\"><s:property value=\"no_of_physical_cpus\"/></div>\r\n\t\t\t\t\t\t\t\t\t\t\t<div class=\"fht-cell\"></div>\r\n\t\t\t\t\t\t\t\t</td>\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t<td style=\"text-align:center;\">\r\n\t\t\t\t\t\t\t\t\t<div class=\"th-inner sortable both\"><s:property value=\"cores_per_physical_cpus\"/></div>\r\n\t\t\t\t\t\t\t\t\t\t\t<div class=\"fht-cell\"></div>\r\n\t\t\t\t\t\t\t\t</td>\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t<td style=\"text-align:center;\">\r\n\t\t\t\t\t\t\t\t\t<div class=\"th-inner sortable both\"><s:property value=\"deployed_licenses\"/></div>\r\n\t\t\t\t\t\t\t\t\t\t\t<div class=\"fht-cell\"></div>\r\n\t\t\t\t\t\t\t\t</td>\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t<td style=\"text-align:center;\">\r\n\t\t\t\t\t\t\t\t\t<div class=\"th-inner sortable both\"><s:property value=\"machines_in_cluster\"/></div>\r\n\t\t\t\t\t\t\t\t\t\t\t<div class=\"fht-cell\"></div>\r\n\t\t\t\t\t\t\t\t</td>\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t<td style=\"text-align:center;\">\r\n\t\t\t\t\t\t\t\t\t<div class=\"th-inner sortable both\"><s:property value=\"domain_cluster_name\"/></div>\r\n\t\t\t\t\t\t\t\t\t\t\t<div class=\"fht-cell\"></div>\r\n\t\t\t\t\t\t\t\t</td>\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t<td style=\"text-align:center;\">\r\n\t\t\t\t\t\t\t\t\t<div class=\"th-inner sortable both\"><s:property value=\"server_purchase_date\"/></div>\r\n\t\t\t\t\t\t\t\t\t\t\t<div class=\"fht-cell\"></div>\r\n\t\t\t\t\t\t\t\t</td>\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t<td style=\"text-align:center;\">\r\n\t\t\t\t\t\t\t\t\t<div class=\"th-inner sortable both\"><s:property value=\"Expiry_date\"/></div>\r\n\t\t\t\t\t\t\t\t\t\t\t<div class=\"fht-cell\"></div>\r\n\t\t\t\t\t\t\t\t</td>\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t<td style=\"text-align:center;\">\r\n\t\t\t\t\t\t\t\t\t<div class=\"th-inner sortable both\"><s:property value=\"hyperthreading_enabled\"/></div>\r\n\t\t\t\t\t\t\t\t\t\t\t<div class=\"fht-cell\"></div>\r\n\t\t\t\t\t\t\t\t</td>\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t<td style=\"text-align:center;\">\r\n\t\t\t\t\t\t\t\t\t<div class=\"th-inner sortable both\"><s:property value=\"admin_server\"/></div>\r\n\t\t\t\t\t\t\t\t\t\t\t<div class=\"fht-cell\"></div>\r\n\t\t\t\t\t\t\t\t</td>\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t<td style=\"text-align:center;\">\r\n\t\t\t\t\t\t\t\t\t<div class=\"th-inner sortable both\"><s:property value=\"architecture\"/></div>\r\n\t\t\t\t\t\t\t\t\t\t\t<div class=\"fht-cell\"></div>\r\n\t\t\t\t\t\t\t\t</td>\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t</tr>\r\n\t\t\t</s:iterator>\r\n\r\n\t\t\r\n           \r\n           </tbody>\r\n\t\t\t</table>\r\n\r\n\t\t</div>\r\n\r\n\r\n\r\n\t</div>\r\n</div>\r\n \r\n<script type=\"text/javascript\">\r\n\t$('#table').bootstrapTable({\r\n\t\tclasses : 'table table-responsive table-striped table-bordered',\r\n\t\tundefinedText : '',\r\n\t\ticonsPrefix : 'fa',\r\n\t\tshowRefresh : false,\r\n\t\tsearch : true,\r\n\t\tpageSize : 10,\r\n\t\tpagination : true,\r\n\t\tsidePagination : 'client',\r\n\t\tsortable : true,\r\n\t\tcookie : true,\r\n\t\tmobileResponsive : true,\r\n\t\tshowExport : true,\r\n\t\tshowColumns : true,\r\n\t\texportDataType : 'all',\r\n\t\texportTypes : [ 'csv', 'txt', 'json', 'xml', 'excel', 'sql', 'pdf' ],\r\n\t\tmaintainSelected : true,\r\n\t\tpaginationFirstText : \"First\",\r\n\t\tpaginationLastText : \"Last\",\r\n\t\tpaginationPreText : \"Previous\",\r\n\t\tpaginationNextText : \"Next\",\r\n\t\tpageList : [ '10', '25', '50', '100', '150', '200' ],\r\n\t\ticons : {\r\n\t\t\tpaginationSwitchDown : 'fa-caret-square-o-down',\r\n\t\t\tpaginationSwitchUp : 'fa-caret-square-o-up',\r\n\t\t\tcolumns : 'fa-columns',\r\n\t\t\trefresh : 'fa-refresh'\r\n\t\t},\r\n\r\n\t});\r\n</script>\r\n\r\n\r\n    </body>\r\n</html>\r\n i am not getting output...\r\nat starting it showing proper table format with all option \r\nbt when data actual loaded then only normal table appear.no bootrat table effect appear\r\nso solve my problem\r\n"}}
{"actor":{"display_login":"wenzhixin"}}