Categories | Question details Back To List | ||
Grid width change after init I am loading a grid from xml including configuration. By utilising clearAll I am re-using the object to load further xml with different configs resulting in width changes -- more columns etc. API allows management of height but width adjustment is not available, the original container width determines grid width. Any solution please?? Thanks TonyW. Answer posted by Support on Apr 09, 2008 05:24 Actually you can use auto-width mode as well grid.enableAutoWidth(true); In such mode grid will change container width to show all columns without scrolling. In necessary you can change width manually by changing width or parent container. document.getElementById('gridbox').style.height="NNpx"; grid.setSizes(); |