This is a migrated thread and some comments may be shown as answers.

Reduce Space between columns

1 Answer 44 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Arsalan
Top achievements
Rank 1
Arsalan asked on 22 May 2014, 09:09 AM
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.

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 22 May 2014, 10:34 AM
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.

Thanks,
Princy
Tags
Ajax
Asked by
Arsalan
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or