How to retain Cell width in Datagrid? [modified]
-
Hi Am using a Datagrid with 5 columns Name,Address,City,Country and Phone Number. And i have set the width of the Grid. The problem is, when the Address field retreives a lengthier row, the width of the Grid also expands,even though i have set its width and in Property Builder --> Format --> Items also i have Checked 'Wrap text within cell' checkbox. I dont want my Datagrid to grow in width though the fields have lengthier data,they need to be wrapped inside the cell itself. Please help me to do this...:( Thanx in advance -- modified at 3:49 Thursday 18th January, 2007
-
Hi Am using a Datagrid with 5 columns Name,Address,City,Country and Phone Number. And i have set the width of the Grid. The problem is, when the Address field retreives a lengthier row, the width of the Grid also expands,even though i have set its width and in Property Builder --> Format --> Items also i have Checked 'Wrap text within cell' checkbox. I dont want my Datagrid to grow in width though the fields have lengthier data,they need to be wrapped inside the cell itself. Please help me to do this...:( Thanx in advance -- modified at 3:49 Thursday 18th January, 2007
-
haven't you tried to set the HeaderStyle-Width property of your BoundField columns to your desired width? like -> //mastereuo On Error GoTo Hell