如何在Java类文件的已有表格中添加新列并修正对齐异常
表格添加新列后对齐异常问题
接手同事的Java Web应用,需在现有表格中添加新列,但每次添加后表格的对齐方式都会出现错乱。添加前表格布局正常,添加后列对齐错位。
当前相关代码如下:
data="<table id='v_esTable' class='table table-bordered color-bordered-table inverse-bordered-table'><thead style=\"background-color: #064b87\">" + "<tr><th class=\"text-white\">JEN No.</th >" + "<th class=\"text-white\">Village Name</th>" +"<th class=\"text-white\">Village Name</th>" + "<th class=\"text-white\">Applicant Name</th>" + "<th class=\"text-white\">Awardee Name</th><th class=\"text-white\">Relation To Awardee</th><th class=\"text-white\">Award Date</th>" + "<th class=\"text-white\">Awardee No</th><th class=\"text-white\">Land Extent</th><th class=\"text-white\">Job Status</th>" + "<th class=\"text-white\">ITI Dicipline</th><th class=\"text-white\">Diploma Dicipline</th><th class=\"text-white\">Engg. Dicipline</th>"
内容的提问来源于stack exchange,提问作者Newbie
相关产品推荐
相关产品推荐

