Resize the Grid

How to Change the grid size dynamically
e.g. 1. if you maximize the window
2. if we are using grid in our code within table and table has two td with width 50% , Suppose if we hide one td i want to increase grid size.

i am using mygrid.setSizes(); but it is not happening

thank you


You can use columns width in percents using setInitWidthsP() method. Example is available here … esize.html