Resize row or column programatically



Is there any whay to resize a row or a column programatically. What I waht to do is the following:

  1. on double tapping on the first colum to expand it to double size.

  2. on row selection to increase the rox size to 1.5x the original size and decrease the above and below select row, to 0.7x the original size.

Thank you in advance.