I use the plugin to change the width of the colResizable columns, the problem is that I need col2 and col3 to have the minimum width (minWidth) one, for example 360px, and for col1, for example 220px. Unfortunately, the plugin does not allow this, it sets the minimum width for all columns at once. Maybe there is still a way to make this plug-in understand or to add something else? Please help.

Here is an example:

$('#testcol').colResizable({ liveDrag: true, postbackSafe: true, partialRefresh: true, minWidth: 120, hoverCursor: 'col-resize' }); 
 td { border-right: 1px solid black; } div { height: 100px; } 
 <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/colresizable@1.6.0/colResizable-1.6.min.js"></script> <table width="100%" id="testcol"> <tbody> <tr> <td> <div>col 1</div> </td> <td> <div>col 2</div> </td> <td> <div>col 3</div> </td> </tr> </tbody> </table> 

  • Apparently just not done. Have to modify the library. If you can do it well, you can send a pool request to add this feature! - Stepan Kasyanenko Feb. 6:03 pm

0