|
Subject:
|
DataGrid column width
|
|
Posted By:
|
johanyu
|
Post Date:
|
10/30/2004 5:33:11 AM
|
Hi,
I am using DataGrid to update my database, anything is working fine. I got problem to set the width of column after click Edit.
I am using "asp:EditCommandColumn" and "OnEditCommand" And the code as bellow: DataGrid1.EditItemIndex = e.Item.ItemIndex
Any reply will be very appreciate.
sq
|
|
Reply By:
|
fukai100
|
Reply Date:
|
11/2/2004 4:52:19 PM
|
Hi, instead of using BoundColumn in your datagrid, use template Columns. And then set your column width inside <EditItemTemplate> </EditItemTemplate> tags.
Kai
|