easyUI table width adaptive

To control the width of the table and prevent the horizontal scroll bar from appearing in the table, an attribute is provided on the API: fitColumns, the default is fasle. The usage is as follows

  1. <table class="easyui-datagrid" style="width:400px;height:250px"  
            data-options="fitColumns:true">  
    </table>



Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325693293&siteId=291194637