Reduce Space between columns

2 posts, 0 answers
  1. Arsalan
    Arsalan avatar
    17 posts
    Member since:
    Sep 2013

    Posted 22 May 2014 Link to this post

    hey everyone i want to reduce space between columns. how to do this. i am using itemstyle-width but its increase the space..
    how to solve this.. you can see in this picture.
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 22 May 2014 in reply to Arsalan Link to this post

    Hi Arsalan,

    It is not recommended to set the ItemStyle-Width property for setting column width, use only HeaderStyle-Width property. You can adjust the width of a column using the HeaderStyle-Width property. In-case you want to resize the columns, take a look at this article on Resizing Columns for more details. If you want to resizes the column to fit the widest cell's content without wrapping, check this article on resizeToFit.

Back to Top