How do we give a different width? I tried "Cells(0).Width = 50" but it's still taking the cell width of the data that is generating.
Main Topics
Browse All TopicsI have a gridview with a header and footer. I want to set/define the footer cell in the code to display date and time. I do not want the width of the footer cell to be based on the width of the dynamic cells of the gridview. Is there anyway to do this?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
I cannot enlarge the width of the column because the data is dynamic and I haven't defined the columns.
As for setting the date part in one column and the time part in another, I tried that. it works for some reports where there are more than 4 columns. But for 4 columns or less, it is throwing an error.
Any other solution?
Business Accounts
Answer for Membership
by: PHDPosted on 2007-10-23 at 03:55:03ID: 20129862
I think the footer is a property of the column object.
So You can give a differenct width to your footer than the one of the column.