码迷,mamicode.com
首页 > 其他好文 > 详细

多选框设置成单选

时间:2015-04-30 20:22:32      阅读:128      评论:0      收藏:0      [点我收藏+]

标签:单选   多选   

  <table class="grid" singleselect="true">
            <thead>
                <tr>
                 <td style="width: 20px; text-align: center;">
                       
                    </td>
                    <td style="width: 100px; text-align: center;">
                        业务编号
                    </td>
                    <td style="width: 120px; text-align: center;">
                        大类名称
                    </td>
                    <td style="width: 120px; text-align: center;">
                        小类名称
                    </td>
                    <td style="width: 120px; text-align: center;">
                        节点名称
                    </td>
                    <td style="width: 100px; text-align: center;">
                        申请人
                    </td>
                    <td style="width: 80px; text-align: center;">
                        联系方式
                    </td>
                    <td style="width: 120px; text-align: center;">
                        申请时间
                    </td>
                </tr>
            </thead>
            <tbody id="tabody_node">
                    <tr><td colspan="8" class="trloading"><img src="../images/loading.gif" /><span>正在加载数据,请稍候...</span></td></tr>       
            </tbody>
        </table>

 

 

 

设置:singleselect="true"多选框变成单选

多选框设置成单选

标签:单选   多选   

原文地址:http://9142338.blog.51cto.com/9132338/1640962

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!