updateColumnWidth method can be used to change any column's width by its index. This feature is illustrated in GanttControlTableCustomization sample.
|
<script> $(document).ready(function () { .... $("#changeColWidth").click(function () { // arg1 : index of the column // arg2 : width to be set ganttControl.grid.updateColumnWidth(1, 200); }); .... }); </script> <body> .... <button id="changeColWidth">Change Column Width</button> .... </body> |
Note: Both frozen and non-frozen column's width can be adjusted.
� RadiantQ 2022. All Rights Reserved.